Replies: 4 comments 2 replies
-
|
hey @vonsander, feel free join here: https://discord.com/invite/jbaHfsRVBW |
Beta Was this translation helpful? Give feedback.
-
|
Thanks! No way to connect Airtable's API directly though? https://discord.com/invite/jbaHfsRVBW - Getting the error "Invite Invalid". |
Beta Was this translation helpful? Give feedback.
-
|
Yes, you can definitely integrate Airtable with Flowise! Here are two approaches: Option 1: Using HTTP Request Node
Option 2: Using Custom Component Pro tip: For document analysis, you can pull data from Airtable, send it to GPT for analysis, then write results back to Airtable! Let me know if you need more details! 👍 |
Beta Was this translation helpful? Give feedback.
-
|
Integrating Airtable with Flowise works well via the HTTP Request node or a custom tool. Two approaches: Option 1: HTTP Request node (no code needed) Option 2: Custom Tool (more flexible, recommended for agents): // Custom Airtable Tool in Flowise
import { Tool } from "@langchain/core/tools";
import Airtable from "airtable";
class AirtableTool extends Tool {
name = "airtable_lookup";
description = "Look up records in Airtable by field value. Input: JSON with {table, field, value}";
async _call(input: string): Promise<string> {
const { table, field, value } = JSON.parse(input);
const base = new Airtable({ apiKey: process.env.AIRTABLE_API_KEY })
.base(process.env.AIRTABLE_BASE_ID!);
const records = await base(table)
.select({ filterByFormula: `{${field}} = "${value}"`, maxRecords: 10 })
.firstPage();
return JSON.stringify(records.map(r => r.fields));
}
}Then in Flowise, add this as a Custom Tool and connect it to your Agent node. The agent can then call it when it needs to look up customer data, inventory, etc. Common Airtable + AI use cases:
What's the workflow you're trying to build? That'd help suggest whether read-only lookup or read+write is needed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking to pull market research data from Airtable and analyze it with GPT.
P.S. The Discord link is invalid. Is there a new one available that I can use to join?
Beta Was this translation helpful? Give feedback.
All reactions