What is the placeholder for ticket assignee when using Notify Active Webhook?

Answered

6 Comments

  • Lou
    Community Moderator
    The Product Manager Whisperer - 2022

    Alex C

    Did you try agent.email? It should return the assignee.

    1
  • Alex C

    Hi Lou! I can't remember if I had or not, so I just tested {{agent.email}} but it didn't work :(

    The trigger is working and firing and if I have something else in the text field, it wipes it clean. But does not populate the agent's email. 

    1
  • Ahmed Zaid
    Community Moderator

    Hi Alex C,

    {{ticket.assignee.email}} works for me when an assignee is present and saved. So, if you are testing, make sure you assign the ticket to an agent, submit, then test the placeholder in an internal note or trigger.

    2
  • Lou
    Community Moderator
    The Product Manager Whisperer - 2022

    Alex C

    I think Ahmed Zaid is on to something. Try saving (submitting) the ticket first then run the trigger and see if that works.

    2
  • Alex C

    Ahmed Zaid Lou

    Unbelievable. I think this is what the issue was. The trigger I was using to test assigns the ticket to a different group (which left it with no assignee). As I was testing back and forth I probably wasn't "taking" the ticket before adding the tag and submitting. So placeholder ticket.assignee.email does work! Now just need to make sure to follow that rule in the real flow. Thank you so much for the help once again!

    0
  • Lou
    Community Moderator
    The Product Manager Whisperer - 2022

    Alex C

    You're welcome, but I think Ahmed Zaid deserves the credit. I'm just glad you worked it out.

    0

Please sign in to leave a comment.

Powered by Zendesk