Add ad leads to SendGrid contact lists for email marketing -- with custom and reserved fields mapped so your segments and automations work from day one.
Connect SendGrid with 4 lead sources
SendGrid splits its product into transactional (the SMTP and v3/mail/send endpoints) and marketing (lists, contacts, custom fields, segmentation, journeys). LeadSync only talks to the marketing side -- specifically api.sendgrid.com/v3/marketing/ -- so a SendGrid API Key with the Marketing Campaigns -> Full Access permission is what you need to paste into the connection screen.
Every contact push is sent as a PUT /marketing/contacts with a Bearer-token header. PUT is important here: SendGrid treats the email address as the contact identity, so a repeat submission updates the existing contact rather than creating a duplicate. The contact also gets added to whichever list_ids you picked during connection setup, so segments and automations triggered by list membership fire as soon as the lead lands.
SendGrid distinguishes between reserved fields (the built-in slots like first_name, last_name, phone_number, address_line_1, city, postal_code, country) and custom fields you create per-account. LeadSync calls GET /marketing/field_definitions to load both arrays, so the mapping screen shows every option your SendGrid account actually accepts -- no guessing, no typos.
Internally LeadSync prefixes reserved fields with _rf_ to keep them separate from custom field IDs (which are random hashes generated by SendGrid). When a lead is processed, that prefix is stripped before the value is placed at the top level of the contact payload, while custom field values are nested under custom_fields using SendGrid's field IDs.
The most common SendGrid setup is to point each lead source at a list, then build a Single Send automation or Automation Journey that triggers on list membership. Because LeadSync writes the contact and adds them to the list in the same API call, the welcome email or onboarding sequence fires within seconds of the form submission.
For more advanced workflows, use SendGrid's segmentation on the custom fields LeadSync populates -- for example "ad_source = facebook AND budget = over_5000" to route hot leads into a different journey than tyre-kickers. The custom field values are queryable in segment builder as soon as the contact lands.
Set up your SendGrid integration in under 60 seconds. Free 14-day trial, no credit card required.
Start Your Free Trial