SendGrid
Overview
The SendGrid integration doesn’t forward events for you to act on. BillDog itself sends the email, through SendGrid’s mail-send API with your API key and sender address, to the end customer’s email address on their BillDog customer record. It starts as soon as you save the integration.
It is a dashboard connector, with no SDK changes. Mail goes out from your SendGrid account under your sender identity and domain reputation, not BillDog’s.
Your customers receive these emails. Unless you set a SendGrid template for an event (see below), BillDog uses its own built-in copy, for example “Welcome! Your subscription is active” or “Payment failed - action required”. Review the copy, or set templates, before you save.
Setup
- In SendGrid, create an API key with mail-send permission, and verify the sender address or domain you intend to send from.
- In BillDog, go to Dashboard → Integrations and choose SendGrid.
- Enter the SendGrid API Key and the Sender Email.
- Optionally, paste a SendGrid Dynamic Template ID (starts with
d-) for each event. With a template set, BillDog sends that template and passes the event’s data as the template data. With none, it sends its built-in HTML email. - Choose the events under Events to Forward, then click Save Integration.
The sender address must be verified in SendGrid before anything will deliver. An unverified sender is the most common cause of a connector that saves cleanly but sends nothing.
Test Connection (and Retry) sends a test email to your own sender address, not to a customer.
Emails sent
| Event | Fires when | Built-in subject |
|---|---|---|
| subscription_created | A new subscription or free trial starts | Welcome! Your subscription is active |
| trial_ending | A trial ends in about three days | Your trial is ending soon |
| payment_failed | A renewal payment fails | Payment failed - action required |
payment_failed is the highest-value of the three — involuntary churn from an expired card is recoverable in a way that a deliberate cancellation is not.
These three are on for a new integration. You can also tick these, each sent once per lifecycle fact:
| Event | Fires when | Built-in subject |
|---|---|---|
| subscription_cancelled | Auto-renew is turned off | Your subscription has been cancelled |
| subscription_uncancelled | Auto-renew is turned back on | Your subscription will renew |
| subscription_expired | The subscription ends | Your subscription has ended |
| purchase_refunded | A store purchase is refunded | Your refund has been processed |
When no email is sent
- Sandbox events (store sandbox and test purchases) are never mailed.
- Customers without an email on their BillDog record are skipped. The Recent Activity log records these as success, not as skipped.
- Suppressed addresses are skipped: addresses that hard-bounced or filed a spam complaint. An unsubscribe through BillDog doesn’t stop these three emails, because they are account notices.
SendGrid vs. BillDog Messaging
This connector is for teams already standardised on SendGrid. If you want the email composed, scheduled, A/B tested and measured inside BillDog — with the same audience and Journey logic as your push and in-app messages — use Messaging instead. Running both is fine, but decide which owns a given lifecycle email so users don't receive two.
Checking delivery
The chart icon on the SendGrid card opens Recent Activity, the last 50 dispatch attempts with their status. A rotated API key shows up there as a failed delivery. After 3 failed deliveries within an hour the integration’s status changes to error, and BillDog stops sending it events. Emails for events that occur while it is in error are never sent, even after you fix it. Fix the cause, then click Retry on the card: a successful test send sets the integration back to active.
Related
Was this page helpful?
Or rate this page: