Try Kling Image V4 Long for Page Mockups from Kling AI →
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick skills, choose a plan, deploy, then connect your tools
Pre-built AgentsBrowse the catalogConnectorsConnect agents to your apps
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
  1. Home
  2. Connectors
  3. Email
  4. SendGrid
Wiro × SendGrid

Connect SendGrid to your Wiro AI agent

Send email and manage contacts and lists in SendGrid.

Connect to an AgentVisit SendGrid All Connectors
SendGrid logoSendGridEmail
API KeyPasted once, stored encrypted and never shown again
32 actions17 read, 15 write
Chat and Scheduled TasksWhere it works
Allow, Ask or BlockYour choice for each action

Overview

What SendGrid does for your agent

SendGrid refuses calls the API key has no permission for, so the setup asks for a Full Access key. The agent sends emails with a subject and body or a dynamic template, imports Marketing Campaigns contacts, drafts and schedules Single Sends, adds template versions, and checks delivery in statistics, email activity and suppression lists. Mail goes out only from verified senders, and email activity search needs SendGrid's paid Email Activity history add-on.

Use cases

What your Wiro agent can do with SendGrid

  1. 01

    Find out whether a receipt reached the customer

    When a customer says an order email never arrived, ask the agent in Chat. It searches SendGrid's email activity for their address, tells you whether the message was delivered, is still processing or did not go through, and checks the suppression lists for a bounce, block or spam report on that address. Activity search needs SendGrid's Email Activity history add-on.

  2. 02

    A weekly email health report

    Every Monday, a Scheduled Task pulls last week's SendGrid statistics in total and per category: requests, delivered, opens, clicks, bounces, blocks, spam reports and unsubscribes. It compares them with the week before and posts a short note in Chat, pointing out any category where bounces or spam reports went up.

  3. 03

    Turn a product update into a Single Send

    Give the agent the news and the list it is for. It creates a Single Send draft with your verified sender, an unsubscribe group and an HTML body, shows it to you, and schedules it for the time you choose once you approve. If the date moves, it unschedules the send and turns it back into a draft.

  4. 04

    Load webinar attendees into a contact list

    Paste the attendee list and the agent adds or updates up to 1,000 Marketing Campaigns contacts at a time, fills custom fields such as company or plan, and puts them on a new or existing list. It then follows the import job and reports how many contacts were created, updated or came back with errors.

  5. 05

    Set up a transactional template your app can use

    Ask for a password reset or shipping notice and the agent creates a dynamic template with a subject and HTML that uses fields like {{first_name}}, makes that version active, and with your approval sends one test through it to your own address before your app starts using it.

  6. 06

    Send to an address again after a fixed bounce

    If a customer's mailbox was full and SendGrid now suppresses their address, the agent finds the bounce and tells you when and why it happened. Once the customer confirms the problem is fixed and you approve, it removes the address from that suppression list so your next email reaches them.

How it works

How SendGrid works with Wiro

  1. 01

    Connect SendGrid

    Deploy an agent, open its Connectors tab, choose SendGrid and paste what the Connect dialog asks for.

  2. 02

    Choose what each action may do

    Set each SendGrid action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.

  3. 03

    Ask in Chat or schedule it

    Ask your agent for SendGrid work in Chat, or put it on a Scheduled Task that runs on its own.

  • Where it runsInside your agent. Its requests go straight from the agent to SendGrid.
  • Where its data goesapi.sendgrid.com
  • How it signs inPaste a key. It is stored encrypted and never shown again.
Example chat
SendGrid logoSendGrid connected Key saved

A customer says the receipt for order 4471 never reached her. Did it actually get delivered?

Search SendGrid email activity sendgrid__search_email_activity
List SendGrid suppressions sendgrid__list_suppressions

No. Your Boulderfield Outfitters order 4471 is marked not delivered: SendGrid dropped it on Saturday at 9:12 am without sending it. Her address has been on your spam reports list since March 3, when she reported one of your emails as spam, and SendGrid skips every address on that list. If she confirms she wants your emails, I can take her off it with your approval, and then you can resend the receipt.

Type a message...

What it can do

Actions your Wiro agent can take in SendGrid

By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.

Read-only (17)Create and send (6)Change and delete (9)

Read-only 17 actions

Looks things up in SendGrid and changes nothing.

  • Check the SendGrid API key

    What the connected API key may do.

    Chat AllowScheduled Tasks Allow

  • Search SendGrid email activity

    Recent emails with their status (delivered, not delivered, processing), opens and clicks.

    Chat AllowScheduled Tasks Allow

  • Get a SendGrid contacts job

    The status of a contacts import or delete job (pending, completed, errored, failed) with the counts of contacts requested, created, updated, deleted and in error.

    Chat AllowScheduled Tasks Allow

  • Search SendGrid contacts

    Finds Marketing Campaigns contacts with an SGQL query.

    Chat AllowScheduled Tasks Allow

  • Get SendGrid contacts by email

    Looks up Marketing Campaigns contacts by email address, up to 100 at a time, with their fields, lists and custom fields; addresses with no contact are named.

    Chat AllowScheduled Tasks Allow

  • List SendGrid contact fields

    The custom fields of Marketing Campaigns contacts with their ids and types, and the reserved fields.

    Chat AllowScheduled Tasks Allow

  • List SendGrid contact lists

    Marketing Campaigns lists with their ids and contact counts.

    Chat AllowScheduled Tasks Allow

  • List SendGrid Single Sends

    Single Sends (marketing emails) with their status, send time and categories, newest first.

    Chat AllowScheduled Tasks Allow

  • Get a SendGrid Single Send

    One Single Send with its recipients, sender, unsubscribe setting, schedule, warnings and its HTML and text bodies (cut at 20,000 characters).

    Chat AllowScheduled Tasks Allow

  • Get SendGrid Single Send statistics

    Delivery and engagement of a sent Single Send: requests, delivered, opens and unique opens, clicks and unique clicks, bounces, blocks, spam reports and unsubscribes (per A/B variation when it had one).

    Chat AllowScheduled Tasks Allow

  • List SendGrid templates

    Transactional templates (dynamic by default, or legacy) with their versions, which one is active, and their subjects.

    Chat AllowScheduled Tasks Allow

  • Get a SendGrid template

    One template with its versions, and the active version's subject, HTML and text (cut at 20,000 characters).

    Chat AllowScheduled Tasks Allow

  • List SendGrid verified senders

    Verified sender identities with their ids, from and reply-to addresses, and whether they are verified.

    Chat AllowScheduled Tasks Allow

  • List SendGrid unsubscribe groups

    Unsubscribe (suppression) groups with their ids, names, whether one is the default, and how many have unsubscribed.

    Chat AllowScheduled Tasks Allow

  • Get SendGrid email statistics

    Email statistics for a date range, in total and per day, week or month: requests, delivered, opens, clicks, bounces, blocks, drops, spam reports and unsubscribes, for the whole account or for up to 10 categories.

    Chat AllowScheduled Tasks Allow

  • List SendGrid suppressions

    Addresses SendGrid will not send to: bounces, blocks, spam reports, invalid emails or global unsubscribes, newest first, with when and why.

    Chat AllowScheduled Tasks Allow

  • Read other SendGrid data

    Reads what the actions above do not cover, straight from the SendGrid API.

    Chat AllowScheduled Tasks Allow

Create and send 6 actions

Creates or sends something new in SendGrid, such as a post, a message or an email.

  • Send an email with SendGrid

    Sends one email: to up to 1,000 recipients, with cc, bcc, reply-to, and a subject with a text and/or HTML body.

    Chat AskScheduled Tasks Allow

  • Create a SendGrid contact list

    Creates a Marketing Campaigns list and returns its id.

    Chat AskScheduled Tasks Allow

  • Create a SendGrid Single Send

    Creates a Single Send (a marketing email) as a draft.

    Chat AskScheduled Tasks Allow

  • Create a SendGrid template

    Creates an empty transactional template (dynamic by default) and returns its id.

    Chat AskScheduled Tasks Allow

  • Add a version to a SendGrid template

    Adds a version to a template: subject and HTML, plain text, and whether it becomes the active version that emails use.

    Chat AskScheduled Tasks Allow

  • Add a SendGrid verified sender

    Adds a sender identity.

    Chat AskScheduled Tasks Allow

Change and delete 9 actions

Changes or deletes what is already in SendGrid.

  • Add or update SendGrid contacts

    Adds contacts to Marketing Campaigns or updates those with the same email (or other identifier), optionally adding them to lists.

    Chat AskScheduled Tasks Allow

  • Delete SendGrid contacts

    Deletes Marketing Campaigns contacts by id, up to 100 at a time.

    Chat AskScheduled Tasks Allow

  • Delete a SendGrid contact list

    Deletes a list.

    Chat AskScheduled Tasks Allow

  • Update a SendGrid Single Send

    Changes a draft Single Send.

    Chat AskScheduled Tasks Allow

  • Schedule or send a SendGrid Single Send

    Schedules a Single Send for a time.

    Chat AskScheduled Tasks Allow

  • Unschedule a SendGrid Single Send

    Cancels a scheduled Single Send before it starts and turns it back into a draft.

    Chat AskScheduled Tasks Allow

  • Delete a SendGrid Single Send

    Deletes a Single Send.

    Chat AskScheduled Tasks Allow

  • Remove an address from a SendGrid suppression list

    Removes one email address from a suppression list, so SendGrid sends to it again.

    Chat AskScheduled Tasks Allow

  • Make other SendGrid changes

    Sends any other change straight to the SendGrid API.

    Chat AskScheduled Tasks Allow

How to connect

Connect SendGrid to Wiro

Open the agent's Connectors tab, choose SendGrid and paste what it asks for. Values are stored encrypted and never shown again.

What the Connect dialog asks for

FieldAbout
API KeyRequired
  1. Go to SendGrid Dashboard → Settings → API Keys
  2. Click Create API Key
  3. Set API Key Permissions to Full Access
  4. Copy the key. It is shown only once

Used for contacts, lists, single sends, dynamic templates and transactional email.

Kept encrypted, never shown again.

Troubleshooting

Troubleshooting SendGrid

What to check when SendGrid stops working for your agent.

  • An invalid or expired key If SendGrid refuses the key, for example after it was deleted or expired, the agent's SendGrid actions fail. Create a new key in SendGrid, then open the agent's Connectors tab, choose SendGrid and paste it in place of the old one.
  • Limits set by SendGrid SendGrid limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your SendGrid plan.

For developers

Connect SendGrid from your own product

Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.

  1. 01

    Read the connector

    Detail answers without a session: what the connector needs and the tools it gives an agent.

    POST /AgentConnector/Detail
    {
      "slug": "sendgrid"
    }
    Response
    {
      "result": true,
      "errors": [],
      "agentconnectors": [
        {
          "slug": "sendgrid",
          "title": "SendGrid",
          "category": "email",
          "authtype": "fields",
          "credentialfields": [
            {
              "name": "apikey",
              "label": "API Key",
              "required": true,
              "secret": true,
              "format": "password"
            }
          ],
          "tools": [
            {
              "name": "get_account",
              "readonly": true
            },
            {
              "name": "send_email",
              "readonly": false
            }
          ]
        }
      ]
    }
  2. 02

    Connect with the values

    Send what the person typed in your form. A value you leave out keeps what the connection holds; an empty one clears it.

    POST /UserAgent/ConnectorConnect
    {
      "useragentguid": "YOUR_AGENT_GUID",
      "slug": "sendgrid",
      "values": {
        "apikey": "YOUR_SECRET"
      }
    }
    Response
    {
      "result": true,
      "errors": [],
      "status": "connected",
      "applied": 1,
      "restart": "scheduled"
    }
  3. 03

    Read the status

    connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.

    POST /UserAgent/ConnectorList
    {
      "useragentguid": "YOUR_AGENT_GUID"
    }
    Response
    {
      "result": true,
      "errors": [],
      "useragentconnectors": [
        {
          "slug": "sendgrid",
          "title": "SendGrid",
          "authtype": "fields",
          "status": "connected",
          "accounts": {},
          "savedvariables": [
            "apikey"
          ],
          "lasterror": null
        }
      ]
    }
  4. 04

    Disconnect

    Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.

    POST /UserAgent/ConnectorDisconnect
    {
      "useragentguid": "YOUR_AGENT_GUID",
      "slug": "sendgrid"
    }
    Response
    {
      "result": true,
      "errors": [],
      "removed": true,
      "revoked": false,
      "restart": "scheduled"
    }
API Reference

Questions

SendGrid and Wiro FAQ

What can a SendGrid AI agent do?

It sends single emails with a subject and body or a dynamic template, manages Marketing Campaigns contacts, lists and custom fields, and drafts, schedules and reports on Single Sends. It reads delivery statistics, email activity, suppression lists, unsubscribe groups and verified senders, creates templates and new template versions, and can add a sender identity for SendGrid to verify by email.

How do I connect SendGrid to an AI agent?

In SendGrid, open Settings → API Keys, click Create API Key, choose Full Access and copy the key, which SendGrid shows only once. On your agent's Connectors tab, choose SendGrid and paste it. You can also start from Chat by asking the agent to add SendGrid. The connector checks with SendGrid what the key may do before it saves the connection.

Does the agent need my approval before it sends through SendGrid?

In Chat, yes, unless you change it: sending, scheduling, creating, updating and deleting wait for a person's approval, while lookups and reports go ahead on their own. In Scheduled Tasks those write actions go ahead too, unless you switch them to Ask or Block. Chat and Scheduled Tasks have separate settings for every action, and SendGrid's sandbox mode lets the agent check a send request without delivering anything.

Where is my SendGrid API key kept?

The key is kept encrypted and never shown again after you save it. The AI model does not see it at any point. If you need to cut access at once, delete the key in SendGrid under Settings → API Keys: every call with it fails from that moment. Then disconnect SendGrid on the Connectors tab.

What does it cost to use SendGrid with an AI agent?

SendGrid as a connector is included in your agent plan, with no extra fee. Emails the agent sends count toward your SendGrid plan like any others, and SendGrid's own feature rules still apply. Searching email activity, for example, needs SendGrid's paid Email Activity history add-on, and SendGrid refuses calls that the API key has no permission for.

What limits apply to emails the agent sends?

One send goes to up to 1,000 recipients, each getting their own copy unless you ask for a shared one. Attachments come from public links, up to 10 files and 20 MB in all, and a send can be scheduled up to 72 hours ahead. Contact imports run 1,000 at a time in the background, and mail goes out only from senders SendGrid has verified.

Can I automate SendGrid without hosting an MCP server?

Yes. The connector runs inside your agent and calls the SendGrid v3 API directly, so there is no SendGrid MCP server to install or keep running. Ask in Chat for a recurring job, say a statistics summary each Monday or a daily check of new bounces and spam reports; once you confirm the agent's proposal, it runs as a Scheduled Task on its own.

Access

Revoke SendGrid access

In SendGrid, open Settings → API Keys, open the key's menu and choose Delete: calls with it fail at once. Then disconnect it here.

Related connectors

More email connectors for your Wiro agent

Brevo logo

Brevo

Email campaigns, transactional email and contact lists in Brevo.

Gmail logo

Gmail

Read, label and answer mail in a Gmail inbox.

Mailchimp logo

Mailchimp

Audiences, campaigns and reports in Mailchimp.

Put SendGrid to work with Wiro

Deploy an agent and connect SendGrid from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.

Build an AgentAll Connectors

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsConnectorsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion