If you want to send SMS as a reply to a ticket created from a text message sent by your customer, you must use the following configuration in your Zendesk account.
1. Create the Toky extension in Zendesk
Create an extension in your Zendesk account: click on Settings, next click on Extensions, and lastly, click on Add target. (You can also click this link to go to your Triggers section, and click on Add target.)
Click on HTTP target.
Add Toky web as the Title
Enter https://integrations.toky.co/webhooks/zendesk In the URL field
Select POST as the Method
Select JSON as the Content Type
Select Create target in the dropdown next to the Submit button
Click on Submit, and the extension will be created.
2. Create the trigger in Zendesk
Create a trigger in your Zendesk account: you can click on Settings, next on Trigger and lastly, click on Add Trigger. (You can also click on this link to go to your Triggers section and click on Add Trigger.)
Put Reply SMS through Toky as the Trigger name.
In the Conditions section, click on Add condition and configure the condition: Comment - is - Public
In the Action section, click on Add action and select: Notify target - Toky web.
Add the following code snippet into the JSON Body field.
Click on the Create button. The Trigger will be created.