WorkflowAirtableOpen

mails2notion V2

Triggered manually or by an app event. Connects Airtable, Code, Filter, Gmail, HTTP request. Setup - Disable the Gmail Trigger and enable the manual trigger here - Execute the workflow once - Copy the Gmail Label IDs from the output of the "Required labels" node to the "Globals" node - Disable the manual trigger here and and enable the Gmail Trigger again - Activate the workflow, so it runs automa

Front matter
name: mails2notion V2
description: Triggered manually or by an app event. Connects Airtable, Code, Filter, Gmail, HTTP request. ## Setup - Disable the Gmail Trigger and enable the manual trigger here - Execute the workflow once - Copy the Gmail Label IDs from the output of the "Required labels" node to the "Globals" node - Disable the manual trigger here and and enable the Gmail Trigger again - Activate the workflow, so it runs automatically in the background ## Set Globals Use the setup instructions below to retrieve the values for both `errorLabelID` and `processedLabelID` ## Select Base Select the database and the ta
category: Automation
kind: Workflow
software: Airtable|Code|Filter|Gmail|HTTP request

mails2notion V2

Triggered manually or by an app event. Connects Airtable, Code, Filter, Gmail, HTTP request. ## Setup

  • Disable the Gmail Trigger and enable the manual trigger here
  • Execute the workflow once
  • Copy the Gmail Label IDs from the output of the "Required labels" node to the "Globals" node
  • Disable the manual trigger here and and enable the Gmail Trigger again
  • Activate the workflow, so it runs automatically in the background

## Set Globals Use the setup instructions below to retrieve the values for both errorLabelID and processedLabelID ## Select Base Select the database and the ta

Steps

  • OpenAI Chat Model (noOp)
  • Calculator (noOp)
  • Structured Output Parser (noOp)
  • Add Label "Processed" (gmail)
  • Active Routes Only (filter)
  • Extract Route ID (set)
  • Deactivate Route (airtable)
  • Add Label "Error" (gmail)
  • Send notification about deactivated route (gmail)
  • Send notification about missing route (gmail)
  • Get Route by ID (airtable)
  • Create Notion Page (httpRequest)
  • Gmail Trigger (gmailTrigger)
  • Filter for unprocessed mails (filter)
  • When clicking ‘Test workflow’ (manualTrigger)
  • Required labels (filter)
  • Globals (set)
  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Sticky Note3 (stickyNote)
  • Sticky Note4 (stickyNote)
  • Sticky Note5 (stickyNote)
  • Sticky Note6 (stickyNote)
  • Sticky Note7 (stickyNote)
  • Sticky Note8 (stickyNote)
  • Sticky Note9 (stickyNote)
  • No Operation, do nothing (noOp)
  • Sticky Note10 (stickyNote)
  • Sticky Note11 (stickyNote)
  • Sticky Note12 (stickyNote)
  • Format Notion Page Blocks (code)
  • Get all labels (gmail)
  • Structured Output Parser1 (noOp)
  • Calculator1 (noOp)
  • OpenAI Chat Model1 (noOp)
  • Generate Actionable Task (noOp)
  • Get Summary & Meta Data (noOp)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Code/0777_Code_Filter_Automation_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.