SendGrid Responder setup guide - snowplow-archive/sauna GitHub Wiki

HOME > GUIDE FOR DEVOPS > SETTING UP SAUNA > RESPONDERS > SENDGRID RESPONDER SETUP GUIDE

See also: SendGrid Responder user guide.

Contents

Overview

This responder lets your users export data from your event warehouse and upload this data to SendGrid for use in email marketing.

Compatibility

This responder was released in Sauna version 0.1.0.

Sauna setup

Schema

The SendGrid responder must be configured using a self-describing Avro which validates against this Schema:

iglu:com.snowplowanalytics.sauna.responders/SendgridConfig/avro/1-0-0

You can get apiKeyId from your SendGrid account.

Example

We can enable this responder by placing the following Avro configurations to the configuration directory (the config files must use .avro or .json extensions):

{
    "schema": "iglu:com.snowplowanalytics.sauna.responders/SendgridConfig/avro/1-0-0",

    "data": {
        "enabled": true,
        "id": "MySendgridResponder",
        "parameters": {
            "recipientsEnabled": true,
            "apiKeyId": "12348d23faaabcd"
        }
    }
}

NOTE: in Sauna v0.3.0, we will release a new configuration file version:

{
    "schema": "iglu:com.snowplowanalytics.sauna.responders/SendgridConfig/avro/1-0-0",

    "data": {
        "enabled": true,
        "id": "MySendgridResponder",
        "parameters": {
            "recipientsEnabled": true,
            "sendEmailEnabled": true,
            "apiKeyId": "12348d23faaabcd"
        }
    }
}
⚠️ **GitHub.com Fallback** ⚠️