Add end-user as CC via Trigger or Automation

Not planned


Posted Oct 22, 2009

Desired functionality: a way to automatically add a CC to tickets that match a certain condition.

Example: Trigger if Organization is "Acme Co" and Priority is more than Normal, then "Add CC" - specifying an end-user email address.  This would allow the organization's primary contact stay in the loop about what their employees have requested.

Workaround: use a notify target "email" type to send emails to the person who needs to be CC'd.


490

518

518 comments

John Witt - 

Your steps are easy enough to follow... but it's not seeming to work. I created an HTTP target (called "CC non-agents") using the instructions you provided, then call that target from a trigger that is supposed to add (as a test) my gmail address to the cc list if the word "test" shows up in the subject of the ticket. 

I've sent some test emails to our zendesk ticket with the work "test" in the subject but my gmail address does not get cc'd 

I see 0 successful sends on the HTTP target.. I'm curious - what username/password should I be using under Basic Authentication of the HTTP target? I'm using my zendesk login and I'm an admin. 

If i set the combo box at the bottom to "Test target" then hit "Submit", I'm presented with a window that states "JSON body:" at the top with 1x blank line (nothing in the JSON window).. I hit "Submit again and I get: 

 

HTTP/1.1 401 Unauthorized

PUT /api/v2/requests/243.json HTTP/1.1
Authorization: Basic cm9iQGFzZ2xsYy5jb206MjA4bXRoIQ==
User-Agent: Zendesk Target
Content-Type: application/json; charset=utf-8
Content-Length: 0
Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept: */*
Connection: close
Host: trendkitehelp.zendesk.com

 

Under the "Response" tab I see:

HTTP/1.1 401 Unauthorized
Date: Fri, 16 Aug 2019 00:06:02 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 37
Connection: close
Set-Cookie: __cfduid=dc4293ae219c923d41204f53c950ce2481565913962; expires=Sat, 15-Aug-20 00:06:02 GMT; path=/; domain=.trendkitehelp.zendesk.com; HttpOnly
WWW-Authenticate: Basic realm="Web Password"
Strict-Transport-Security: max-age=31536000;
Cache-Control: no-cache
X-Zendesk-Origin-Server: app51.pod14.use1.zdsys.com
X-Request-Id: 506f28f8ad15cf28-IAD
X-Runtime: 0.049818
X-Zendesk-Request-Id: 4822acad6dd01b7d2dd0
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
CF-RAY: 506f28f8ad15cf28-IAD
{"error":"Couldn't authenticate you"}

what am I doing wrong here? 

 

0


Hello Phil, there could be a way to effect what you are after without adding them as CCs. You can send me more detail or contact me on Bizstudio.co.nz, happy to discuss this.

0


All I need is to be able to add 2 CC's to an automated email (Macro) to say that they have contacted the wrong department and then close the ticket. The reason that I have to add them in by CC is because they cannot see the ticket details any other way.

If you have another way for my non agent staff to see tickets for a particular brand, that would also fix my issue.

 

0


Quick note, my app (Carbon Copier) does not work with the new Followers feature. I'm working on an updated version compatible with both, but please don't install right now if you have activated Followers. Thanks!

0


John Witt - 

Thanks for posting your kludge. I'm trying this and will report back if it works out for us. 

-Rob

0


@Christian, that’s right, I’m not sure my app will work on Essential plan. If you were able to purchase, please reach out to me via email and I can help w a refund.

@Gasper, take a look at my app (Carbon Copier), it should be able to take care of that use case.

-1


We also badly need this feature. We use Zendesk for internal support and need to be able to set rules to auto Cc folks based on what email address the ticket was received.

1


Is there any way to realize an general CC to all send tickets with the essential plan?

John's alternative seems to be working only with the team plan. The tool of Avi is throwing an error when I try to install: Ressource ist missing. 

1


Any update on this?

1


Thanks for sharing this alternative John!

This is great :)

-2


Sign in to leave a comment.

Didn't find what you're looking for?

New post