I'm a newbie. I just created a webhook and trigger to add CCs to newly created tickets following these instructions:
The idea here is that I have a macro that I run on a new ticket that automatically adds CCs based on the tag in the macro. This method works, but unfortunately it sends the same initial message twice and doubles my signature like so:
I apologize for all the censorship. I currently have no choice but to do this in a production environment. The blue is my company, the red is me (both agent and the requester), and the green is the test email I want to CC.
I have tried lots of different ways to get this to add the CC and send without doubling the message and signature, and finally ended up here after my most recent attempt. I'd like to know why exactly it doesn't work (and if anyone has a solution obviously). What I have done is modify the JSON from the instructional link above to not include a copy of the ticket description and instead just add the CC. I then created an additional trigger that will send the ticket description upon creation of the ticket. This second trigger successfully sends a single copy of the ticket description. However, my modified JSON doesn't add the CC. Can anyone tell me what's wrong with it?
{
"ticket": {
"email_ccs": {
"user_email": "mmmediainc@protonmail.com",
"action": "put"
}
}
}