SendGrid Webhook

NOTE: The webhook service has been separated from the Pipeline execution environment to improve performance. As a result, the old webhook URL is deprecated.
Switch to the new webhook URL (provided in the Setup Webhook section of your Pipeline Overview page) before December 31, 2020 to avoid disruption in your data loading operations.

new webhook notice

Note: For Pipelines created with this Source, Hevo provides you a fully-managed BigQuery data warehouse Destination if you do not already have one set up. You are only charged the cost that Hevo incurs for your project in Google BigQuery. The invoice is generated at the end of each month and payment is recovered as per the payment instrument you have set up. You can now create your Pipeline and directly start analyzing your Source data. Read Hevo Managed Google BigQuery .

Hevo can bring email activity data from your SendGrid account into your Destination. Hevo connects to SendGrid through Webhooks.

Add Webhook URL in your SendGrid Account

  1. Copy the generated webhook URL.
  2. Go to your SendGrid account, open Settings > Mail Settings in the SendGrid UI.
  3. Turn on Event Notification.
  4. In the HTTP POST URL field, paste the unique URL that you copied in step 1.
  5. Select the Event notifications you would like to test.
  6. Click the checkmark in the top corner to save these updates into your settings.

You can read more about how Webhooks work in SendGrid here.

Sample Event Data:

{
    "email": "example@test.com",
    "timestamp": 1580102529,
    "smtp-id": "<14c5d75ce93.dfd.64b469@ismtpd-555>",
    "event": "deferred",
    "category": "cat facts",
    "sg_event_id": "P0onudGCXGlIhfAoy831Nw==",
    "sg_message_id": "14c5d75ce93.dfd.64b469.filter0001.16648.5515E0B88.0",
    "response": "400 try again later",
    "attempt": "5"
}




See Also

Last updated on 20 Oct 2020