Create List and Add Contacts
A 3-step recipe with SendGrid. We can help you get access.
Recipe · 3 steps
Create List and Add Contacts
with SendGrid · Customer Data Management
Create a marketing list and upsert contacts into it, then confirm.
- Create a new marketing contacts list to receive the contacts.
- Upsert the supplied contacts and attach them to the new list. SendGrid processes this asynchronously and returns a job_id with a 202 status.
- Look up the contacts by their email identifiers to confirm the upsert. Branches on whether the asynchronous job has materialized the contacts.
What you'll need to have ready
- apiKey: SendGrid API key sent as a bearer token.
- listName: The name for the new contacts list.
- contacts: Array of contact objects to upsert (each needs at least an email).
- identifiers: Email identifier values to confirm after the upsert.
For your developer
Arazzo workflow sendgrid:create-list-and-add-contacts, 3 operations: CreateMarketingList → UpdateContact → GetContactByIdentifiers. Specs on APIs.io.