When this happens...
PostgreSQLNew Row (Custom Query)
Then do this...
MandrillSend Template

You don't need to keep searching your PostgreSQL database all the time just because your Mandrill templates require very specific conditional data—this Zap can do it for you! Just set it up and we'll start watching your database, constantly performing a custom query for new rows and triggering the integration when a match is found. The information will then be sent to Mandrill automatically, completing your existing email template out and sending your email whenever you want, giving you an effective and seamless workflow from the original data entry all the way through to email.

How It Works

  1. A new match is found for a custom query on PostgreSQL
  2. Zapier automatically sends a Mandrill template

What You Need

  • PostgreSQL account
  • Mandrill account

Why Zapier?


Get started for free—14 day trial of premium features and apps.


No coding required—automate any of 1,500+ apps in minutes.


Enterprise-level security—connect mission-critical apps.

It's easy to connect Mandrill + PostgreSQL and requires absolutely zero coding experience—the only limit is your own imagination.

When this happens...
then do this!
New Catch Hook

Catch and trigger off of any webhook that Mandrill sends.

Send Template

Send an email via a template.

New or Updated Row

Triggered when a new row is added or modified.

Send Email

Send an email through Mandrill's system!

New Row (Custom Query)

Triggered when new rows are returned from a custom query that you provide. Advanced Users Only

Update Row

Updates an existing row.

New Row

Triggered when you add a new row.

New Row

Adds a new row.

New Column

Triggered when you add a new column.

Use our free platform to build a single Zapier integration and instantly connect your app with 1,500+ others.

Become a Zapier Integration Partner

Mandrill is simple, powerful transactional email from the same people that brought you Mailchimp.

Learn More

PostgreSQL is a powerful, open-source database engine with a uniquely advanced query optimizer and dozens of built in features, making it an easy choice for production databases.

See PostgreSQL Integrations