← monday.com + Airtable integrations

Delete Record with Airtable API on New User from monday.com API

Pipedream makes it easy to connect APIs for Airtable, monday.com and 1000+ other apps remarkably fast.

Trigger workflow on
New User from the monday.com API
Next, do this
Delete Record with the Airtable API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a monday.com trigger and Airtable action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New User trigger
    1. Connect your monday.com account
    2. Configure Polling interval
  3. Configure the Delete Record action
    1. Connect your Airtable account
    2. Select a Base
    3. Select a Table
    4. Configure Record ID
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a new user is created in Monday.
Version:0.0.4
Key:monday-new-user

monday.com Overview

With the monday.com API you can build a variety of applications and
integrations. Some examples include:

  • A monitoring and analytics tool to track the performance of your monday.com
    account
  • A mobile app to access your monday.com account on the go
  • A tool to help you migrate your data from another platform onto monday.com
  • An integration with your existing workflow or CRM system

Trigger Code

import common from "../common/common-polling.mjs";

export default {
  ...common,
  key: "monday-new-user",
  name: "New User",
  description: "Emit new event when a new user is created in Monday.",
  type: "source",
  version: "0.0.4",
  dedupe: "unique",
  methods: {
    ...common.methods,
    generateMeta(user) {
      return {
        id: user.id,
        summary: user.name,
        ts: Date.parse(user.created_at),
      };
    },
  },
  async run() {
    const lastId = this._getLastId();
    let maxId = lastId;

    const users = await this.monday.listUsers();
    for (const user of users) {
      if (+user.id <= lastId) {
        break;
      }
      if (+user.id > maxId) {
        maxId = +user.id;
      }
      const userData = await this.monday.getUser({
        id: +user.id,
      });
      this.emitEvent(userData);
    }

    this._setLastId(maxId);
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
monday.commondayappThis component uses the monday.com app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Polling intervaltimer$.interface.timer

Pipedream will poll the Monday API on this schedule

Trigger Authentication

monday.com uses API keys for authentication. When you connect your monday.com account, Pipedream securely stores the keys so you can easily authenticate to monday.com APIs in both code and no-code steps.

Add your monday.com API token below

About monday.com

Platform to run processes, projects and workflows in one digital workspace

Action

Description:Delete a record from a table by record ID.
Version:0.2.0
Key:airtable-delete-record

Airtable Overview

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

Action Code

import airtable from "../../airtable.app.mjs";
import common from "../common.mjs";

export default {
  key: "airtable-delete-record",
  name: "Delete Record",
  description: "Delete a record from a table by record ID.",
  version: "0.2.0",
  type: "action",
  props: {
    ...common.props,
    recordId: {
      propDefinition: [
        airtable,
        "recordId",
      ],
    },
  },
  async run({ $ }) {
    const baseId = this.baseId?.value ?? this.baseId;
    const tableId = this.tableId?.value ?? this.tableId;
    const recordId = this.recordId?.value ?? this.recordId;

    this.airtable.validateRecordID(recordId);
    const base = this.airtable.base(baseId);
    let response;
    try {
      response = await base(this.tableId.value).destroy(recordId);
    } catch (err) {
      this.airtable.throwFormattedError(err);
    }

    $.export("$summary", `Deleted record "${this.recordId?.label || recordId}" from ${this.baseId?.label || baseId}: [${this.tableId?.label || tableId}](https://airtable.com/${baseId}/${tableId})`);
    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
AirtableairtableappThis component uses the Airtable app.
BasebaseIdstringSelect a value from the drop down menu.
TabletableIdstringSelect a value from the drop down menu.
Record IDrecordIdstring

Enter a record ID (eg. recxxxxxxx).

Action Authentication

Airtable uses API keys for authentication. When you connect your Airtable account, Pipedream securely stores the keys so you can easily authenticate to Airtable APIs in both code and no-code steps.

Visit your account settings, copy your API key, and enter it below. If you only need to read data from Airtable, and not modify it, you can generate a read-only API key.


get airtable api key

About Airtable

Looks like a spreadsheet, acts like a database.

More Ways to Connect Airtable + monday.com

Delete Record with Airtable API on Name Updated from monday.com API
monday.com + Airtable
 
Try it
List Records in View with Airtable API on Name Updated from monday.com API
monday.com + Airtable
 
Try it
Create Multiple Records with Airtable API on Name Updated from monday.com API
monday.com + Airtable
 
Try it
List Records with Airtable API on Name Updated from monday.com API
monday.com + Airtable
 
Try it
List Records in View with Airtable API on New User from monday.com API
monday.com + Airtable
 
Try it
New Board from the monday.com API

Emit new event when a new board is created in Monday.

 
Try it
New Column Value Updated (Instant) from the monday.com API

Emit new event when a column value is updated on a board in Monday. For changes to Name, use the Name Updated Trigger.

 
Try it
New Item (Instant) from the monday.com API

Emit new event when a new item is added to a board in Monday.

 
Try it
New Name Updated (Instant) from the monday.com API

Emit new event when an item's Name is updated on a board in Monday.

 
Try it
New Specific Column Updated (Instant) from the monday.com API

Emit new event when a value in the specified column is updated on a board in Monday. For changes to Name, use the Name Updated Trigger.

 
Try it
Create an Update with the monday.com API

Creates a new update. See the docs here

 
Try it
Create Board with the monday.com API

Creates a new board. See the docs here

 
Try it
Create Column with the monday.com API

Creates a column. See the docs here

 
Try it
Create Group with the monday.com API

Creates a new group in a specific board. See the docs here

 
Try it
Create Item with the monday.com API

Creates an item. See the docs here

 
Try it