Get request.id or user.id from placeholders | Community
Skip to main content

Get request.id or user.id from placeholders

  • May 20, 2022
  • 3 replies
  • 0 views

Carlos18

Greetings,

Im currently trying to send the ticket information to an external platform via triggers. So everytime a new ticket request arrives this trigger activate itself. I would like to send the requester.id or user.id of the recently created ticket to this external platform via webhook. There are placeholders of the current_user name, phone, details, etc. but not from the id.

Any ideas?

Thanks!

3 replies

Rafael20
  • May 20, 2022

All user objects have the ID property, and External ID if present.

Example:

  • {{ ticket.requester.id }}
  • {{ ticket.assignee.id }}
  • {{ ticket.requester.name }}
  • {{ ticket.requester.first_name }}

The placeholder reference article might help, including more examples:


Carlos18
  • Author
  • May 20, 2022

This was very helpful thank you very much !


Nicole17
  • May 23, 2022

Thanks for sharing that answer, Rafael!