Can I use sunshine custom object's data to populate ticket dropdown fields?

3 Kommentare

  • Eric Gao
    Zendesk Team Member

    Hi Rishi,

    By default, it's not possible to populate ticket dropdown fields using Sunshine custom objects. In order to auto-populate the dropdown fields, you'll need to create a trigger that'll set the field to a specific/static value. Note that you won't be able to reference/define the custom object's value in the trigger itself.

    Eric G. Gao | Technical Support Architect | Zendesk

    0
  • Rishi Mehtani

    Thanks Eric. But I don't just need to set the value at the time of ticket creation. I have some data stored in Salesforce, which keeps changing. I want to create options in dropdown field using this data. For example, products.

    What could be the best approach to do it?

    0
  • Eric Gao
    Zendesk Team Member

    No problem Rishi.

    Unfortunately our Salesforce integration only supports single-directional ticket sync from Zendesk to Salesforce, and not the other way around. So there's not a way to sync data/field values from a Salesforce case to a Zendesk ticket.

    Your best option would be using our APIs to update your Zendesk tickets and their fields, but you'll likely need some custom script in Salesforce to fire the API calls when needed. https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#update-ticket

    Eric G. Gao | Technical Support Architect | Zendesk

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk