---
contentType: overview
title: Advanced AI examples and concepts
description: Example workflows and use cases for building AI functionality using n8n.
hide:
  - toc
---

# Advanced AI examples and concepts

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.

<div class="grid cards" markdown>

-   __Agents and chains__

	Learn about [agents](/glossary.md#ai-agent) and [chains](/glossary.md#ai-chain) in AI, including exploring key differences using the example workflow.

	[:octicons-arrow-right-24: What's a chain in AI?](/advanced-ai/examples/understand-chains.md)  
    [:octicons-arrow-right-24: What's an agent in AI?](/advanced-ai/examples/understand-agents.md)  
	[:octicons-arrow-right-24: Demonstration of key differences between agents and chains](/advanced-ai/examples/agent-chain-comparison.md) 

-   __Call n8n Workflow Tool__

    Learn about [tools](/glossary.md#ai-tool) in AI, then explore examples that use n8n workflows as custom tools to give your AI workflow access to more data.

	[:octicons-arrow-right-24: What's a tool in AI?](/advanced-ai/examples/understand-tools.md)  
    [:octicons-arrow-right-24: Chat with Google Sheets](/advanced-ai/examples/data-google-sheets.md)  
	[:octicons-arrow-right-24: Call an API to fetch data](/advanced-ai/examples/api-workflow-tool.md)  
	[:octicons-arrow-right-24: Set up a human fallback](/advanced-ai/examples/human-fallback.md)  
	[:octicons-arrow-right-24: Let AI specify tool parameters with `$fromAI()`](/advanced-ai/examples/using-the-fromai-function.md)

-   __Vector databases__

    Learn about [vector databases](/glossary.md#ai-vector-store) in AI, along with related concepts including [embeddings](/glossary.md#ai-embedding) and retrievers.

	[:octicons-arrow-right-24: What's a vector database?](/advanced-ai/examples/understand-vector-databases.md)  
    [:octicons-arrow-right-24: Populate a Pinecone vector database from a website](/advanced-ai/examples/vector-store-website.md)   

-   __Memory__

    Learn about [memory](/glossary.md#ai-memory) in AI.

	[:octicons-arrow-right-24: What's memory in AI?](/advanced-ai/examples/understand-memory.md)  

-   __AI workflow templates__

	You can browse AI templates, included community contributions, on the n8n website. 

    [:octicons-arrow-right-24: Browse all AI templates](https://n8n.io/workflows/?categories=25)


   
</div>
