Skip to main content
Solved

workflow automator change status if agent forward response to ticket ot externall email address


Forum|alt.badge.img

Hi,

I'm solving issue to run workflow if agent forwards ticket to extenal contact. The goal is to change status to defined custom status. Can you explain to me how can I do it?

 

Meanwhile what I have

 

Event=Reply or forward sent,

 

Condition=Requested for fields.requested for email <external_address>

 

Action if "Yes": Set status to Custom1

Action if "No":   Set status as custom2.

 

But if I forward response to external contact, flow always goes to Action if "No".

 

Thanks

 

Pavel

Best answer by Daniel Söderlund

What you need to do is to use webRequest node/API and expression. Don’t think there a placeholder for the “send to” mail. 

https://api.freshservice.com/v2/#list_all_conversations

and then a expression using rexmatch() expression. 

 

"to_emails": [],

 

 

View original
Did this topic help you find an answer to your question?

5 replies

eeha0120
Skilled Expert
Forum|alt.badge.img+12
  • Skilled Expert
  • 765 replies
  • April 23, 2024

Hi.

I’d suggest to double check your use case with Support, because if I’m correct, currently there’s no option to achieve that.

You can work on Reply, Reply or Forward, but you can’t currently distinguish the action Forward.

You may work with the event_performer_email, you may check fields To or CC, but there are limited options to combine them and ensure you can notice (and trigger a workflow) when Forwarding to an external party.

 

Regards,


Forum|alt.badge.img
  • Author
  • Apprentice
  • 2 replies
  • April 24, 2024

Hi,

 

but can you show / attach printscreen of code snippet how to check “To” field?

Tried to build Expresssion in Condition block but not sure what syntax to use.

 

Thank you for tip, Sorry for silly question, but I’m new to freshservice

 

Pavel


Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14
pavelob wrote:

Hi,

 

but can you show / attach printscreen of code snippet how to check “To” field?

Tried to build Expresssion in Condition block but not sure what syntax to use.

 

Thank you for tip, Sorry for silly question, but I’m new to freshservice

 

Pavel

Show us and we can help out :) 


Forum|alt.badge.img
  • Author
  • Apprentice
  • 2 replies
  • April 24, 2024

Hi,

attached printscreen of  test expression.

 


Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14

What you need to do is to use webRequest node/API and expression. Don’t think there a placeholder for the “send to” mail. 

https://api.freshservice.com/v2/#list_all_conversations

and then a expression using rexmatch() expression. 

 

"to_emails": [],

 

 


Reply