Recent searches


No recent searches

Request API - auto assign to user group

Answered


Posted Aug 06, 2021

Our organisation has multiple warehouses. Our customers order via our website and app from a specific warehouse closest to them. We have the Request API build into our app and we want to route questions of an order from a warehouse to that specific warehouse. The app knows what warehouse number (for example '5') is selected for that customer. How can we send (request) a ticket and assign it to a specific user (or group, or via a tag) based on the warehouse that is selected for that user?

I can only find that this is possible for the Ticket API, but via the app a customer requests a support ticket, so we should use the Request API right?


1

4

4 comments

image avatar

Eric Nelson

Zendesk Developer Advocacy

Hey There!

What kind of app (Web, Android, iOS, etc) is this? Once I have that info I can walk you through some options for your use case.

Have a wonderful day!

Eric Nelson | Manager - Developer Advocacy

0


Hi Eric,

In our case we have both a website and a hybrid (android & IOS) app. Currently we are using the Request API.

 

Cheers

0


image avatar

Eric Nelson

Zendesk Developer Advocacy

Hey Armand,

For your website there I'd suggest using the createRequest endpoint in combination with the corresponding set tags method (Android, iOS ) to set the warehouse, then use a trigger to handle the assigning. Another option would be to add the tags onto the users profiles. This would then come downstream to get added onto any ticket the user creates. 

Hope this helps,

Eric

0


Thanks Eric! We'll try that out, and I'll revert back to you if I have any more questions.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post