To resolve a Textline conversation after solving the corresponding Zendesk ticket, you’ll need to add and update triggers in Zendesk. These changes will sync Textline and Zendesk resolutions so that if you were to solve a ticket in Zendesk, the corresponding conversation in Textline would be marked as resolved as well. This helps with not having to toggle between both platforms to perform this action.
We also have a help center article on how to set up a Zendesk trigger so that you can send Textline messages via the Zendesk UI.
Set Up
To begin creating this trigger, navigate to the Settings section in Zendesk.
Just like in the send a text trigger:
Click Extensions
In Extensions, click Add Target
Select HTTP target
Enter a title to indicate the trigger: Resolve Textline Conversation
Type in the following url: https://application.textline.com/api/conversations/resolve.json, and the Method is POST, and Content Type is JSON
Click Submit
Create a trigger via Business Rules (in the side menu). Under Business Rules, click Triggers. Then click Add Trigger.
Name the trigger Resolve Textline Conversation.
Under MEET ALL of the following conditions, click ADD Condition and set the following parameters:
Status changed to solved
Tag contain at least one of the following "textline"
Select Notify Target for the Action with the target that was created in the first step Resolve Textline Conversation and the following JSON body:
{ "access_token": "YOUR_ACCESS_TOKEN", "phone_number": "##{{ticket.requester.phone}}", "zendesk_ticket_id": "##{{ticket.id}}", "integrations": {"zendesk": {"trigger": false}}, "creator": "##{{current_user.email}}"}
Click Save
You’re all set!
“YOUR_ACCESS_TOKEN” can be found in your Textline account. To find your access token, go to your Textline account and go to your Tools and Integrations section: