# SendGrid | Waitlyze Docs

> Connect SendGrid contact and messaging actions to waitlist events.

Canonical: https://waitlyze.com/docs/integrations/sendgrid


## SendGrid setup [#sendgrid-setup]

1. Open `Settings → Integrations` as a workspace owner or administrator.
2. Click **Connect** on the **SendGrid** card.
3. Finish sign-in in your browser and allow SendGrid access.
4. Go back to `Settings → Integrations` and click **Manage** on **SendGrid**.

## Rule setup [#rule-setup]

1. Pick **All waitlists** or one list under **Applies to**.
2. Pick a trigger under **When this happens**.
3. Pick a SendGrid contact or send task under **Do this**.
4. Map your list ID or email fields in **Action inputs**.
5. Click **Save automation**.

For a marketing list, enable **Require current marketing consent** on the automation. Waitlyze checks that the subscriber is opted in and has not unsubscribed immediately before the action runs, and skips the action otherwise. The `{{subscriber.marketingConsent}}` token is also available for provider fields that accept a boolean. Verification by itself is not marketing consent.

## Test and turn on [#test-and-turn-on]

New tasks save **Paused**. Click **Test** to send one trial run, inspect SendGrid, then flip **Paused** to **Enabled**.

## Related Links
- [API Reference](https://waitlyze.com/docs/api/reference) - REST API endpoints
- [Embed Widget](https://waitlyze.com/docs/embed) - Embed instructions
- [Waitlyze Home](https://waitlyze.com/) - Product overview
