Browse sources$ls -a sources
Logo of sendgrid
SendGrid
Elevate email marketing with your customers’ SendGrid data
Sync your customers' dataFiber pulls data from your customers' SendGrid accounts into your database or cloud storage. Skip months of integration work and begin syncing in minutes.
Logo of sendgrid
Logo of sendgrid
Logo of sendgrid
Logo of sendgrid
Logo of sendgrid
Logo of sendgrid
Logo of sendgrid
Logo of sendgrid
Logo of sendgrid
Logo of sendgrid
Fiber
postgres-prod
sendgrid_messages
sendgrid_campaigns
sendgrid_contacts
Your customers' SendGrid accounts
Your production database
Meet your new integration toolkit: SQLReplace calls to the SendGrid API with an interface you already use. Access the data you need straight from your database.
-- Fetch all the Messages belonging to the SendGrid
-- account of a particular user.

SELECT *
FROM fiber.sendgrid_message
WHERE account_id = '{user.sendgrid_id}'
-- Fetch all the Messages belonging to the SendGrid
-- account of a particular user.

SELECT *
FROM fiber.sendgrid_message
WHERE account_id = '{user.sendgrid_id}'
Code
CREATE TABLE fiber.sendgrid_message (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
from_email TEXT,
msg_id TEXT,
subject TEXT,
to_email TEXT,
status TEXT,
opens_count INT,
click_counts INT,
last_event_time TIMESTAMP WITH TIME ZONE
)
CREATE TABLE fiber.sendgrid_message (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
from_email TEXT,
msg_id TEXT,
subject TEXT,
to_email TEXT,
status TEXT,
opens_count INT,
click_counts INT,
last_event_time TIMESTAMP WITH TIME ZONE
)
Model definition
About this source
Logo of sendgrid
SendGridCloud-based email delivery platform for transactional and marketing emails.sendgrid.com  ↗
Available resources
    Messages
    Campaigns
    Contacts
    Segments
    Lists
Missing a resource? We will build it for you.
Similar sources
OAuth
Need help with OAuth for SendGrid?Handshake ↗ is a Next.js app boilerplate that handles your OAuth with SendGrid and over 200 other APIs. Setup and deploy within minutes.
Logo of sendgridIntegrate SendGrid using Fiber Fiber makes it easy to access third-party data from SendGrid accounts. Get started in just a few minutes.