Skip to content

Twilio SendGrid

Sync form submissions from UpForm to a Twilio SendGrid contact list. After contacts land in SendGrid, you can run marketing automations such as welcome emails.

This guide covers the workflow automation connection. To send UpForm emails through Twilio SendGrid instead, see Configure Twilio SendGrid SMTP.

Before you begin

  • You need a SendGrid account.
  • In UpForm, enable Save submission data for the form. Workflow sync will not run if submissions are not saved. See General.
  • In UpForm, the provider is labeled Twilio SendGrid.
  • SendGrid needs an email to create or update a contact. Make the form’s email field required.
  • SendGrid menus and labels can change. If something does not match exactly, use SendGrid’s search or help for API keys, lists, and custom fields.

Connect SendGrid in UpForm

  1. In UpForm, open SettingsWorkflow automation.
  2. Click Add workflow automation provider.
  3. Under Select provider, choose Twilio SendGrid.
  4. Enter a Title for this connection (for example, SendGrid – UpForm).
  5. Leave the modal open (or return after you create the key), then continue to generate an API key in SendGrid.

Add SendGrid workflow automation provider

Generate a SendGrid API key

  1. Sign in to your SendGrid dashboard.
  2. Go to SettingsAPI Keys.
  3. Click Create API Key.

SendGrid Settings API Keys page

  1. Enter an API Key Name (for example, UpForm Shopify Integration).
  2. Choose permissions such as Full Access, or restricted access with the marketing and mail-send scopes you need.
  3. Click Create & View.

Create SendGrid API key permissions

  1. Copy the key immediately. SendGrid typically shows it only once.

Copy new SendGrid API key

  1. Return to UpForm, paste the key into API key, enable Active if shown, then click Save.

Paste SendGrid API key in UpForm

Prepare a SendGrid list and custom fields

Create or select a contact list

  1. In SendGrid, go to MarketingContacts.
  2. Use an existing list, or click CreateNew List.
  3. Name the list (for example, Test UpForm), then save it.

SendGrid Marketing Contacts listsCreate new SendGrid contact list

Create custom fields

You can sync any UpForm form. The screenshots below use an example contact form with fields such as first name, last name, email, phone, surfboard interest, and message.

Example contact form for SendGrid sync

SendGrid includes standard fields such as email and name. Create custom fields for any answers that do not already have a matching field.

  1. In SendGrid, go to MarketingCustom Fields.
  2. Click New Custom Field.

SendGrid Marketing Custom Fields page

  1. Enter the field name, choose the field type, then create the field. Repeat for each unique form field you want to store.

Create new SendGrid custom fieldConfigure SendGrid custom field name and type

Enable SendGrid on a form

  1. Open the form in the form builder (or create one from a template).
  2. Open the General tab → Workflow automation.
  3. Enable Sync submission data with Twilio SendGrid.
  4. Select the Provider you connected earlier.
  5. Under Select list, choose the SendGrid list you prepared.

Form SendGrid list and sync settings

You can also click Add for Twilio SendGrid from this section if you have not connected a provider yet.

Map form fields

In the mapping table, match each form field (Label / Name) to a SendGrid field under Mapping.

Example mapping for a contact form:

Form fieldSendGrid field (example)
Emailemail
Phonephone_number
Which surfboard you are interested in?interest_surfboard (custom field)
Messagemessage (custom field)
First namefirst_name
Last namelast_name

Map form fields to SendGrid fields

Map every field you want stored in SendGrid, then Save the form and Publish it to your storefront.

Test the sync

  1. On the live storefront, submit the form with complete test data.

Submit test form for SendGrid sync

  1. Wait about 30–60 seconds.
  2. In SendGrid, open MarketingContacts and confirm the new contact and mapped values.

SendGrid contacts list after test syncSendGrid contact with mapped values

Optional: Create a SendGrid automation

After contacts sync successfully, you can automate follow-up in SendGrid. Example: send a welcome email when a contact is added to your UpForm list.

  1. In SendGrid, go to MarketingAutomations.
  2. Click Create an Automation.

SendGrid Marketing Automations page

  1. Choose Welcome for a pre-built welcome series, or Custom if you prefer to build your own.

Create SendGrid Welcome or Custom automation

  1. On the automation editor:
    • Name the automation (for example, Test UpForm Welcome Series)
    • Set Entry criteria so contacts enter when they are added to your UpForm list
    • Keep or adjust Exit criteria as needed
    • Choose unsubscribe settings that match your compliance needs
    • Configure the first email (template, subject, sender), and add waits or extra emails if you want a multi-step series

Configure SendGrid automation email series

  1. Click Save.
  2. When you are ready to go live, open Automation Options and select Activate.

If this does not work as expected, Contact for help.