capabilities.work

Search Contacts and Suppress

A 2-step recipe with SendGrid. We can help you get access.

Recipe · 2 steps

Search Contacts and Suppress

with SendGrid · Customer Data Management

Search for a contact and globally suppress its email when found.

  1. Search contacts using the supplied SGQL query and branch on whether any contacts were matched.
  2. Add the supplied email address to the account's global suppression group so SendGrid will stop delivering mail to it.
What you'll need to have ready
  • apiKey: SendGrid API key sent as a bearer token.
  • query: An SGQL search string used to locate the contact.
  • email: The email address to add to the global suppression list when matched.
For your developer

Arazzo workflow sendgrid:search-contacts-and-suppress, 2 operations: SearchContact → CreateGlobalSuppression. Specs on APIs.io.