AI examples
This section provides explanations of important AI concepts, and workflow templates that highlight those concepts, with explanations and configuration guides. The examples cover common use cases and highlight different features of advanced AI in n8n.
Agents and chains
Learn about agents and chains in AI, including exploring key differences using the example workflow.
→ What's a chain in AI? → What's an agent in AI? → Demonstration of key differences between agents and chains
Call n8n Workflow Tool
Learn about tools in AI, then explore examples that use n8n workflows as custom tools to give your AI workflow access to more data.
→ What's a tool in AI? → Chat with Google Sheets → Call an API to fetch data → Set up a human fallback → Let AI specify tool parameters with
$fromAI()Vector databases
Learn about vector databases in AI, along with related concepts including embeddings and retrievers.
→ What's a vector database? → Populate a Pinecone vector database from a website
AI workflow templates
You can browse AI templates, included community contributions, on the n8n website.
In this section
Use Google Sheets as a data source: use the n8n workflow tool to load data from Google Sheets into your AI workflow.
Call APIs: use the n8n workflow tool to load data from an API using the HTTP Request node.
Use website content: scrape a website, load the data into Pinecone, then query it in a chat workflow.
Human-in-the-loop for tools: require human approval before an AI Agent runs a tool.
Set a human fallback for AI workflows: trigger a human answer when the AI can't help.
Use AI for parameters: use
$fromAI()to dynamically populate parameters for AI app tools.
Related resources
Last updated
Was this helpful?