Rootly Triggers

Set up the Workflow for Rootly trigger type

  1. In the trigger type drop-down select Rootly as the trigger type

  2. You will get a curl for a webhook. This is what needs to be put in the Rootly HTTP Endpoint configuration page for your service.

    Here, click on Create Workflow and create a workflow of type Incident

    Here enter the name and description, and trigger this workflow, whenever an incident is created.

  3. Click on Add an action

    Select HTTP Client

  4. In the HTTP Client Configuration,

    Add the following configuration:

    Method: POST

    Header Params:

     {
         "Content-Type": "application/json",
         "Authorization": "Bearer <your-token-here>"
     }
    

    Body Parameters:

     {
         "event": {
             "type": "incident.created"
         },
         "data": {
             "id": "{{ incident.id}}",
             "title": "{{ incident.title}}"
         }
     }
    

    Then add the action and create the workflow.

    NOTE: Also make sure that your workflow is in the "Enabled" state

  5. Enter the Incident Title for which you want to trigger this workflow in the Doctor Droid PlayBooks platform.

  6. Select your Playbook.