Microsoft Azure SQL Database

Build apps that scale with managed and intelligent SQL database in the cloud.

Integrate the Microsoft Azure SQL Database API with the PostgreSQL API

Setup the Microsoft Azure SQL Database API trigger to run a workflow which integrates with the PostgreSQL API. Pipedream's integration platform allows you to integrate Microsoft Azure SQL Database and PostgreSQL remarkably fast. Free for developers.

Delete Row(s) with PostgreSQL API on New Column from Microsoft Azure SQL Database API
Microsoft Azure SQL Database + PostgreSQL
 
Try it
Delete Row(s) with PostgreSQL API on New or Updated Row from Microsoft Azure SQL Database API
Microsoft Azure SQL Database + PostgreSQL
 
Try it
Execute Custom Query with PostgreSQL API on New Column from Microsoft Azure SQL Database API
Microsoft Azure SQL Database + PostgreSQL
 
Try it
Execute Custom Query with PostgreSQL API on New or Updated Row from Microsoft Azure SQL Database API
Microsoft Azure SQL Database + PostgreSQL
 
Try it
Execute Query with Microsoft Azure SQL Database API on New Column from PostgreSQL API
PostgreSQL + Microsoft Azure SQL Database
 
Try it
New Column from the Microsoft Azure SQL Database API

Triggers when a new column is added to a table.

 
Try it
New or Updated Row from the Microsoft Azure SQL Database API

Triggers when a new row is added or an existing row is updated.

 
Try it
New Column from the PostgreSQL API

Emit new event when a new column is added to a table. See the documentation

 
Try it
New or Updated Row from the PostgreSQL API

Emit new event when a row is added or modified. See the documentation

 
Try it
New Row from the PostgreSQL API

Emit new event when a new row is added to a table. See the documentation

 
Try it
Execute Query with the Microsoft Azure SQL Database API

Executes a SQL query and returns the results. See the documentation

 
Try it
Delete Row(s) with the PostgreSQL API

Deletes a row or rows from a table. See the documentation

 
Try it
Insert Row with the Microsoft Azure SQL Database API

Inserts a new row in a table. See the documentation

 
Try it
Execute Custom Query with the PostgreSQL API

Executes a custom query you provide. See the documentation

 
Try it
Find Row with the PostgreSQL API

Finds a row in a table via a lookup column. See the documentation

 
Try it

Overview of Microsoft Azure SQL Database

The Microsoft Azure SQL Database API allows you to manage and interact with your SQL databases hosted on Azure directly from Pipedream. It provides a serverless way to run SQL queries, manage tables, and handle database management tasks. You can create, read, update, and delete database records, execute stored procedures, and perform a variety of other SQL operations. Leveraging this API on Pipedream enables you to automate workflows, respond to database events in real-time, and integrate with countless other apps and services.

Connect Microsoft Azure SQL Database

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import sql from "mssql"
export default defineComponent({
  props: {
    azure_sql: {
      type: "app",
      app: "azure_sql",
    }
  },
  async run({steps, $}) {
    const { host, username, password, port, database, encrypt } = this.azure_sql.$auth
    const config = {
      user: username, 
      password, 
      server: host, 
      port, 
      database, 
      authentication: {
          type: 'default'
      },
      options: {
          encrypt
      }
    }
    await sql.connect(config);
    return await sql.query`SELECT GETDATE()`
  },
})

Overview of PostgreSQL

On Pipedream, you can leverage the PostgreSQL app to create workflows that automate database operations, synchronize data across platforms, and react to database events in real-time. Think handling new row entries, updating records from webhooks, or even compiling reports on a set schedule. Pipedream's serverless platform provides a powerful way to connect PostgreSQL with a variety of apps, enabling you to create tailored automation that fits your specific needs.

Connect PostgreSQL

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import postgresql from "@pipedream/postgresql"

export default defineComponent({
  props: {
    postgresql,
  },
  async run({ steps, $ }) {
    // Component source code:
    // https://github.com/PipedreamHQ/pipedream/tree/master/components/postgresql

    const queryObj = {
      text: "SELECT NOW()",
      values: [], // Ignored since query does not contain placeholders
    };
    const { rows } = await this.postgresql.executeQuery(queryObj);
    return rows;
  },
})