how to fill Text User Field | Community
Skip to main content

how to fill Text User Field

  • November 11, 2022
  • 1 reply
  • 0 views

I would like to take a piece of content from a customer's initial message and add it to a custom user field we have. Here's a breakdown of what I'm trying to do:

When a message arrives, it always includes the following at the bottom of the ticket:

-------------------------------------------------
Player ID: xxxxxxxxxxxxx
Device Info: iPhone OS 16.1
--------------------------------------------------

We then also have a field we created called "Player ID". What I would like to happen is when a ticket is first received/opened/responded to (whatever's easiest), the "xxxxxxxxxxxxx" (well, the actual number), after the words "Player ID: ", from the body of the message be automatically entered into the Player ID field. Is this type of thing possible at all?  Is there an app that does this?

Thank you in advance!

1 reply

Dave24
  • November 14, 2022

Sounds you have an app that's creating emails that are sent into your Zendesk account? If that's the case, you might be better served by using the Create Request endpoint in the Zendesk API to create your tickets -- by using that, you'll be able to set your custom fields directly as part of creating the ticket.