Knack

Business app platform

Integrate the Knack API with the Airtable API

Setup the Knack API trigger to run a workflow which integrates with the Airtable API. Pipedream's integration platform allows you to integrate Knack and Airtable remarkably fast. Free for developers.

Create single record with Airtable API on New Record from Knack API
Knack + Airtable
 
Try it
Create Multiple Records with Airtable API on New Record from Knack API
Knack + Airtable
 
Try it
List Records with Airtable API on New Record from Knack API
Knack + Airtable
 
Try it
List Records in View with Airtable API on New Record from Knack API
Knack + Airtable
 
Try it
Update record with Airtable API on New Record from Knack API
Knack + Airtable
 
Try it
New Record from the Knack API

Emit new event for each record created

 
Try it
New or Modified Records from the Airtable API

Emit an event for each new or modified record in a table

 
Try it
New or Modified Records in View from the Airtable API

Emit an event for each new or modified record in a view

 
Try it
New Records from the Airtable API

Emit an event for each new record in a table

 
Try it
New Records in View from the Airtable API

Emit an event for each new record in a view

 
Try it
Create Record with the Knack API

Create a Record for a Knack object (See docs here)

 
Try it
Create single record with the Airtable API

Adds a record to a table.

 
Try it
Delete Record with the Knack API

Delete a Record for a Knack object (See docs here)

 
Try it
Create Multiple Records with the Airtable API

Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs.

 
Try it
Get Record(s) with the Knack API

Get one or more Records for a Knack object (See docs here)

 
Try it

Connect Knack

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    knack: {
      type: "app",
      app: "knack",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      method: "post",
      url: `https://api.knack.com/v1/objects/object_1/records`,
      headers: {
        "X-Knack-Application-Id": `${this.knack.$auth.application_id}`,
        "X-Knack-REST-API-KEY": `${this.knack.$auth.api_key}`,
        "content-type": `application/json`,
      },
    })
  },
})

Overview of Airtable

Using the Airtable API, you can build applications that can:

  • Create and manage databases
  • Add, update, and delete records
  • Search for records
  • Sort and filter records
  • Display records in a variety of ways
  • Import and export data

Connect Airtable

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
29
30
31
32
33
34
35
36
37
38
39
module.exports = defineComponent({
  props: {
    airtable: {
      type: "app",
      app: "airtable",
    },
    baseId: {
      type: "$.airtable.baseId",
      appProp: "airtable",
    },
    tableId: {
      type: "$.airtable.tableId",
      baseIdProp: "baseId",
    },
  },
  async run({steps, $}) {
    const Airtable = require('airtable');
    const base = new Airtable({apiKey: this.airtable.$auth.api_key}).base(this.baseId);

    const data = []
    
    await base(this.tableId).select({
      // pass optional config parameters here
    }).eachPage(function page(records, fetchNextPage) {
        // This function (`page`) will get called for each page of records.
        records.forEach(function(record) {
            data.push(record._rawJson)
        });

        // To fetch the next page of records, call `fetchNextPage`.
        // If there are more records, `page` will get called again.
        // If there are no more records, `done` will get called.
        fetchNextPage();
    })

    return data
  },
})

Community Posts

Airtable Webhooks with Slack + Pipedream
Airtable Webhooks with Slack + Pipedream
We love Airtable here at Pipedream. But Airtable lacks one killer feature — webhooks. We took advantage of Airtable’s Slack notifications and built a way to send webhooks to an HTTP endpoint every time a record is created or updated in a base. It takes 10 minutes to setup and it’s free.
Webhooks workaround using Slack
Webhooks workaround using Slack
This has been an open item in the Airtable support community for a few years, see "Webhooks for Records 393" and here 39, & here 28, and we are excited to offer a free solution to the community. Here is the high level solution: Based on the transitive property (A=B and B=C, then A=C), Airtable supports Slack Notifications, and Slack supports webhooks, so Airtable supports webhooks! You just have to know how to set it up correctly. With a simple integration via Pipedream into Slack, all Airtable users can now get near real time notifications of all updated fields and values in Airtable.
Overcoming Airtable Scripting Limitations with Pipedream
Overcoming Airtable Scripting Limitations with Pipedream
How I used Pipedream — Created a workflow having an API endpoint to convert Airtable’s Attachment Image URL to Base64 encode image (to push it to another API). Similarly, there could be a million other use-cases.