Skip to main content
Send high-volume emails with a single prompt. SendGrid is an email delivery platform by Twilio that handles transactional messages, marketing campaigns, and analytics at scale. Connect it to Rocket and describe the email flow you want in chat. Rocket generates the complete sending logic: templates, API calls, event tracking, and delivery management.You need a Rocket account and a SendGrid account with a verified sender identity.
SendGrid is a strong choice when you need reliable delivery for large volumes of email. If you only need simple transactional emails, Resend may be a lighter option. Pair SendGrid with Supabase (for user data) and Stripe (for payment-triggered emails) for the best results.

What you can use it for

Send password resets, order confirmations, invoices, and account verification emails triggered by user actions.Try this prompt:
When a user places an order, send an order confirmation email through SendGrid
with the order details and a link to track their shipment.
Rocket creates: email template, SendGrid API call, dynamic data injection from your database.
Send promotional emails, product announcements, and seasonal campaigns to segmented audiences.Try this prompt:
Build a marketing email campaign page where I can compose a message,
select a contact list from SendGrid, and send the campaign.
Rocket creates: campaign composer UI, contact list selector, SendGrid campaign API integration.
Create reusable email templates with personalized fields like names, order numbers, and custom data.Try this prompt:
Create a welcome email template in SendGrid with the user's first name
and a getting-started checklist. Send it when a new user signs up.
Rocket creates: dynamic template setup, signup trigger, personalized content injection.
Track open rates, click rates, bounces, and delivery status for every email you send.Try this prompt:
Add an email analytics dashboard that shows open rates, click rates,
and bounce rates for emails sent through SendGrid this week.
Rocket creates: analytics dashboard UI, SendGrid stats API integration, date filtering.
Collect subscriber emails and send regular newsletters with rich content.Try this prompt:
Add a newsletter signup form to my landing page. Store subscribers in SendGrid
contact lists and send a weekly digest email.
Rocket creates: signup form, SendGrid contact list management, newsletter sending flow.

Quick start

1

Get your SendGrid API key

Go to the SendGrid Dashboard, click Create API Key, give it a name, and copy the key. You also need to verify a sender identity under Settings > Sender Authentication.
2

Connect in chat

Open any Rocket project and type:
Connect SendGrid and send an order confirmation email when a user completes checkout.
Paste your API key when prompted. Rocket builds the email flow instantly.
3

Test the email

Trigger the flow in your app preview and check your inbox. Review delivery status in the SendGrid Activity Feed.

Detailed setup

Get your SendGrid API key

Open SendGrid’s documentation to learn how to create your API key.
To generate an API key:
  1. Log in to SendGrid and go to Settings > API Keys.
  2. Click Create API Key.
  3. Add a name and choose permissions (Full Access or Restricted), then confirm.
  4. Copy the key. You will paste it into Rocket in the next step.
Never paste your SendGrid API key directly into Rocket chat. Always use the secure integration flow or the API key input in settings. If you believe your key has been exposed, revoke it from SendGrid Settings and create a new one.

Connect SendGrid to Rocket

1

Connect SendGrid to Rocket

There are two ways to connect SendGrid to Rocket:Method 1: Use Rocket Chat (fastest)
  • In any project, open the chat panel and type something like:
    Connect my SendGrid account to:
  • Send a password reset email to users.
  • Set up order confirmation emails.
  • You will see a popup appear where you can paste and save your API key instantly.
Method 2: From your project settings
  • Open any project and go to Integrations.
  • Click the SendGrid card.
When you connect SendGrid from Project Settings, Rocket will not automatically create email flows. After saving your key, describe the email flow you want in chat for Rocket to implement it.
2

Save your API key

  • Paste your API key into the field.
  • Click Save to complete setup.
3

Update or disconnect

  • Click the SendGrid integration again.
  • Replace the existing key or click Disconnect to remove it.

Prompt cookbook

Copy-paste these prompts after connecting SendGrid to build common email flows:
Use casePrompt
Order confirmationSend an order confirmation email through SendGrid when a user completes checkout. Include order total and items.
Password resetAdd a forgot-password flow that sends a reset link via SendGrid with a 15-minute expiration.
Welcome emailSend a welcome email through SendGrid when a new user signs up, with a getting-started guide.
Marketing campaignBuild an admin page where I can compose and send a marketing email to a SendGrid contact list.
Weekly digestSend a weekly digest email every Monday with the user's activity summary from the past week.
Abandoned cartSend an abandoned cart reminder email 2 hours after a user leaves items in their cart.
Invoice emailGenerate a PDF invoice and email it through SendGrid after each successful Stripe payment.
Re-engagementSend a re-engagement email to users who have not logged in for 30 days.
Event invitationSend an event invitation email with RSVP buttons that update the user's response in Supabase.
Shipping notificationSend a shipping notification email with tracking number and estimated delivery date.

Tips and limitations

  • Verify your sender identity first. SendGrid requires domain authentication or single-sender verification before you can send emails. Complete this in SendGrid Settings before connecting.
  • SendGrid vs. Resend. SendGrid excels at high-volume sending and marketing campaigns. Resend is simpler for developer-focused transactional email. Choose based on your scale and needs.
  • No permanent free tier. SendGrid offers a 60-day free trial for new accounts. After the trial, you need a paid plan to continue sending. Check SendGrid pricing for current plans.
  • Manage contacts in SendGrid. You can add subscribers through Rocket, but deleting contacts and managing suppression lists must be done in the SendGrid dashboard.
  • One SendGrid account per project. Each Rocket project connects to one SendGrid API key. Use different projects for different SendGrid accounts.

What’s next?