Skip to main content

Setup

Install the Drift integration from the Courier integrations catalog. You will need your Drift access token.
Drift was acquired by Salesloft. The legacy Drift API documentation at devdocs.drift.com may no longer be available. Refer to Salesloft’s documentation for current API details.

Profile Requirements

To start a conversation with a recipient over Drift, you must provide the recipient’s email as email in the profile.
{
  "message": {
    "to": {
      "email": "alice@acme.com"
    }
  }
}

Overrides

You can override the request body, access token, URL, and headers. Below is an example of overriding the body and access token:
{
  "message": {
    "template": "NOTIFICATION_TEMPLATE_ID",
    "to": {
      "email": "alice@acme.com"
    },
    "providers": {
      "drift": {
        "override": {
          "body": {
            "message": {
              "body": "Custom message body"
            }
          },
          "config": {
            "accessToken": "RUNTIME_ACCESS_TOKEN"
          }
        }
      }
    }
  }
}