Gorgias Get Ticket and Customer for Voice Call

Finds the most recent Gorgias ticket created for a phone number (within the last 30 seconds) and returns both the ticket and the customer. Use it to link an incoming call to its Gorgias records.

What it does

  • Searches Gorgias for the latest ticket matching the given phone number.
  • Returns the ticket ID and customer ID, plus the full ticket and customer objects.

Inputs

NameTypeDescription
Gorgias SubdomainCredentialssubdomain of your gorgias account
Gorgias KeyCredentialsGorgias key used to authenticate
Gorgias UsernameCredentialsGorgias username used to authenticate
Phone NumberStringThe phone number to search for (E.164 format recommended string).

Outputs

NameTypeDescription
Ticket IDNumberThe ID of the found ticket.
Customer IDNumberThe ID of the found customer.
TicketObjectThe full ticket object.
CustomerObjectThe full customer object.

Notes

  • Only matches tickets created in the last 30 seconds.
  • Requires Gorgias credentials (subdomain, username and key).

API reference