Tines Webhook
Overview
Steps for using the Sublime webhook action to integrate with Tines
Requirements
- Tines Administrator permissions
- Sublime Administrator permissions
Installation
At a high level we will be:
- In Tines, adding a
Webhook
to aStory
- In Sublime, adding an
Action
of aWebhook
with the auth details of the Tines Webhook. We can easily choose what datapoints we want to pass from Sublime to Tines as well.
Tines Steps (Basic Auth)
Reference: https://www.tines.com/docs/actions/types/webhook/
- Navigate to the Tines console and open up the story you would like to add the Sublime Webhook action to
- Drag the
Webhook
icon on the left onto the canvas, then copy theWebhook URL
from the panel on the right
- At the bottom, click
+ Option
, then scroll to the bottom of the window and click onResponse Code
- Change the value from 201 to
200
- If you want to test, Open the
Events
page which will show requests from Sublime once we setup the webhook in Sublime. (it shouldn’t have any yet)
Sublime Steps
Reference: https://docs.sublime.security/v2/docs/webhooks
- Navigate to the Sublime console, and scroll down to
Actions
. ClickNew Action
and thenWebhook
- Enter a name such as
Tines Integration
, paste the webhook URL from the Tines setup step 2 above intoEndpoint URL
, click the carrot next to Customize Payload, and select any/all items desired, thenSave
Testing (optional)
- In Sublime, navigate to
Search
, then search for an email that is not important/can be used for simulation/testing. Click and open that email
- On the right, either edit to change the classification or select
Simulation
then click the dropdown forAdd Custom Actions
and select your tines integration. Uncheck theShare with Sublime
box for this testing, thenSubmit
- In the Tines console, you should see an event pop up. To inspect, click on the 6 next to
Body
, thendata
and you should see all of the items you selected when setting up the webhook in step 2 of Sublime Setup.
Updated about 1 month ago