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 a Story
  • In Sublime, adding an Action of a Webhook 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/

  1. Navigate to the Tines console and open up the story you would like to add the Sublime Webhook action to

  1. Drag the Webhook icon on the left onto the canvas, then copy the Webhook URL from the panel on the right

  1. At the bottom, click + Option , then scroll to the bottom of the window and click on Response Code

  1. Change the value from 201 to 200

  1. 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

  1. Navigate to the Sublime console, and scroll down to Actions . Click New Action and then Webhook

  1. Enter a name such as Tines Integration , paste the webhook URL from the Tines setup step 2 above into Endpoint URL , click the carrot next to Customize Payload, and select any/all items desired, then Save


Testing (optional)

  1. 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

  1. On the right, either edit to change the classification or select Simulation then click the dropdown for Add Custom Actions and select your tines integration. Uncheck the Share with Sublime box for this testing, then Submit

  1. In the Tines console, you should see an event pop up. To inspect, click on the 6 next to Body , then data and you should see all of the items you selected when setting up the webhook in step 2 of Sublime Setup.