How do I create a Zendesk ticket after catching a webhook?

This topic was automatically generated from Slack. You can find the original thread here.

Joe Baguandas : Hi community! Does anyone have a simple way to create a Zendesk ticket after catching a webhook?

Nghia Nguyen : hey : a straightforward approach would be catching the webhook event with a Pipedream source, and then that will emit the event to a workflow where you can use the built-in OAuth Zendesk app and subsequently can run an axios post request to the endpoint here: https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#create-ticket

(pre-populate that ticket with the webhook event info accordingly, etc.)

image.png

Hello,

I’m trying to create a ticket with oAuth, but it seems out of the oAuth scope, I only have:

"scopes": [
            "triggers:write",
            "webhooks:write",
            "read"
        ]

I need tickets: read and write
Is it on the Pipedream side or the zendesk side, that I can fix this ?

Thanks

Matthias

Hi @matthias4

Thanks for reaching out, we have to expand the scopes on our end - no action required on your part.

Are there any other scopes you might need while we add this one?

Hi @matthias4

I have added tickets:read and tickets:write to our OAuth scopes if you’d like to try reconnecting your account.

Hi @pierce ,

I’m also trying to create user, I need “scopes: users:write, write” to be add on my OAuth. Is that something you can do?

Thanks,
Victor

Hi @victorheliosweb

Yes, please request for your new OAuth app scopes here: