Back to Templates

Automated Content Migration from ClickUp Docs to Airtable Records

Created by

Created by: Fahmi Fahreza || fahmiiireza

Fahmi Fahreza

Last update

Last update 15 hours ago

Share


Create Airtable records from new ClickUp Doc pages

This workflow automates the process of turning content from ClickUp Docs into structured data in Airtable. When a new task is created in ClickUp with a link to a ClickUp Doc in its name, this workflow triggers, fetches the entire content of that Doc, parses it into individual records, and then creates a new record for each item in a specified Airtable base and table.

Who's it for

This template is perfect for content creators, project managers, and operations teams who use ClickUp Docs for drafting or knowledge management and Airtable for tracking and organizing data. It helps bridge the gap between unstructured text and a structured database.

How it works

  1. Trigger: The workflow starts when a new task is created in a specific ClickUp Team.
  2. Fetch & Parse URL: It gets the new task's details and extracts the ClickUp Doc URL from the task name.
  3. Get Doc Content: It uses the URL to fetch the main Doc and all its sub-pages from the ClickUp API.
  4. Process Content: A Code node parses the text from each page. It's designed to split content by * * * and separate notes by looking for the "notes:" keyword.
  5. Find Airtable Destination: The workflow finds the correct Airtable Base and Table IDs by matching the names you provide.
  6. Create Records: It loops through each parsed content piece and creates a new record in your specified Airtable table.

How to set up

  1. Configure the Set Node: Open the "Configure Variables" node and set the following values:
    • clickupTeamId: Your ClickUp Team ID. Find it in your ClickUp URL (e.g., app.clickup.com/9014329600/...).
    • airtableBaseName: The exact name of your target Airtable Base.
    • airtableTableName: The exact name of your target Airtable Table.
    • airtableVerticalsTableName: The name of the table in your base that holds "Vertical" records, which are linked in the main table.
  2. Set Up Credentials: Add your ClickUp (OAuth2) and Airtable (Personal Access Token) credentials to the respective nodes.
  3. Airtable Fields: Ensure your Airtable table has fields corresponding to the ones in the Create New Record in Airtable node (e.g., Text, Status, Vertical, Notes). You can customize the mapping in this node.
  4. Activate Workflow: Save and activate the workflow.
  5. Test: Create a new task in your designated ClickUp team. In the task name, include the full URL of the ClickUp Doc you want to process.

How to customize the workflow

  • Parsing Logic: You can change how the content is parsed by modifying the JavaScript in the Parse Content from Doc Pages Code node. For example, you could change the delimiter from * * * to something else.
  • Field Mapping: Adjust the Create New Record in Airtable node to map data to different fields or add more fields from the source data.
  • Trigger Events: Modify the Trigger on New ClickUp Task node to respond to different events, such as taskUpdated or taskCommentPosted.