PostgreSQL
Facebook Conversions
zapier

An automated workflow using zapier

Connects PostgreSQL + Facebook Conversions

Create lead events in Facebook Conversions from new rows with custom queries in PostgreSQL

About this workflow template

This automation scenario allows you to connect PostgreSQL and Facebook Conversions

It can be build using Zapier, a no-code workflow automation tool. Zapier allows you to create automated bots using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.

PostgreSQL and Facebook Conversions can also be integrated using automation tools other than zapier:

Diagram

Create lead events in Facebook Conversions from new rows with custom queries in PostgreSQL
Workflow diagram: PostgreSQL + Facebook Conversions integration

How it works?

When this trigger fires in PostgreSQL

PostgreSQL

New Row (Custom Query) in PostgreSQL

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

Then this action happens in Facebook Conversions

Facebook Conversions

Send Lead Event in Facebook Conversions

Publish lead events to Conversions API

How to set up this workflow

This guide contains information on how to set up an automatic workflow that allows to Create lead events in Facebook Conversions from new rows with custom queries in PostgreSQL.

Part I

Configure Applications

First, we need to connect PostgreSQL and Facebook Conversions to Zapier.

  • Create Zapier account.

    Create Zapier account.

    Create Zapier account if you don't have one.

  • Connect PostgreSQL to Zapier.

    Connect PostgreSQL to Zapier.

    Give Zapier access to your PostgreSQL account, using PostgreSQL credentials.

  • Connect Facebook Conversions to Zapier.

    Connect Facebook Conversions to Zapier.

    Give Zapier access to your Facebook Conversions account, using Facebook Conversions credentials.

Part II

Build an integration workflow

Next, we need to create a workflow automation scenario using graphical no-code web interface of Zapier.

  • Set up a Trigger action for PostgreSQL

    Set up a Trigger action for PostgreSQL

    Choose the following trigger: New Row (Custom Query) (Triggered when new rows are returned from a custom query that you provide. **Advanced Users Only**).

  • Then set up an Action for Facebook Conversions

    Then set up an Action for Facebook Conversions

    Choose this action: Send Lead Event (Publish lead events to Conversions API).

Part III

Test and Publish

Finally, we need to test this automation and publish it.

  • Customize data flow

    Customize data flow

    Configure the data that is exchanged between PostgreSQL and Facebook Conversions.

  • Test the workflow and turn it on for production use

    Test the workflow and turn it on for production use

    Test your scenario and publish to production. Now you have an automatic workflow, that will Create lead events in Facebook Conversions from new rows with custom queries in PostgreSQL!

Supported triggers and actions

  • Facebook Conversions

    Business

    Business that contains your data set

    zapier
    triggerbyzapier
  • Facebook Conversions

    Dataset

    Datasets to be uploaded to Conversions API through the Zap

    zapier
    triggerbyzapier
  • Facebook Conversions

    Send funnel event

    Publish lead updates from your funnel.

    zapier
    actionbyzapier
  • Facebook Conversions

    Send lead event

    Publish lead events to Conversions API

    zapierintegratelypabbly-connect
    actionbyzapierintegratelypabbly-connect
  • Facebook Conversions

    Send other event

    Publish other events to Conversions API

    zapierintegratelypabbly-connect
    actionbyzapierintegratelypabbly-connect
  • Facebook Conversions

    Send purchase event

    Publish purchase events to Conversions API

    zapierintegratelypabbly-connect
    actionbyzapierintegratelypabbly-connect
  • PostgreSQL

    Update row

    Updates an existing row.

    zapierautomateiopipedreamintegrately
    actionbyzapierautomateiopipedreamintegrately
  • PostgreSQL

    Find row

    Finds a row in a table via a lookup column.

    zapierpipedream
    actionbyzapierpipedream
  • PostgreSQL

    Delete row(s)

    Delete row(s)

    pipedream
    actionbypipedream
  • PostgreSQL

    Execute sql query

    Execute sql query

    pipedream
    actionbypipedream
  • PostgreSQL

    Find row with custom query

    Find row with custom query

    pipedream
    actionbypipedream
  • PostgreSQL

    Insert row

    Insert row

    pipedream
    actionbypipedream

Apps you need

PostgreSQL

PostgreSQL

Databases

An advanced open source database

PostgreSQL is an open-source and free object-relational database system, perfect for storing and scaling complicated data workloads. With a proven architecture and advanced query optimizer, it's a top choice for production databases.

Zapier

Zapier

Automation Platforms

No-code automation service

Zapier simplifies busy people's lives by automating web app data transfers, reducing tedious tasks, and allowing teams to collaborate effortlessly. With over 5,000 popular apps connected, it's never been easier to streamline your workflow.