tl:dr Can I get a macro to run from a trigger
Goal: create link to internal support tool on tickets (based on requester email), so agents can just click and be taken straight to the information - should it exist.
Tickets are created by customers emailing in.
I have created a macro that successfully creates the link as an internal comment, but this should be seamless, so I want a new ticket to have that link ready to go.
A trigger doesn't seem to have the ability to generate any sort of text field (I don't care if it's in a ticket field or a comment, so long as it's there). And triggers also don't seem to be able to run a macro.
I'm open to other approaches - I just want that link sitting there for agents on ticket open.
Thanks for reaching out and providing all of this great information. I'm afraid the answer to your question, "Can I get a macro to run from a trigger", is no at this time. Neither Triggers or Automations are able to run macros as an option or just populate comments on a ticket, either public or internal. Considering there does not appear to be any plans to introduce a feature that allows you to run a macro (or internal note), I've thought about a potential workaround that I hope may be helpful.
The best workaround I could think of unfortunately does rely on a bit of manual input from one of your agents. If you have agents who monitor all new tickets and triage them to the appropriate team, you could ask that they run the macro on the appropriate tickets before they're assigned to the proper group. If you already have business rules in place to triage tickets, this likely would not help and I apologize for that limitation.
Please let me know if there's anything I can clarify.