Build practical AI automations in n8n, even if you have never created a workflow or written code. In this beginner course, you’ll configure an AI chat agent, connect it to everyday apps, and extend it into a useful assistant for research, scheduling, email and more.

Introduction to n8n AI Agents for Beginners
Cyber Monday: Ends today! Lock in Coursera Plus for $239/year and build skills all year.

Recommended experience
Recommended experience
What you'll learn
Build n8n AI agents that connect Gmail, Google Calendar, messengers, Perplexity AI, and Google Tasks to automate everyday work.
Extend n8n agents with sub-workflows, Code node logic, multimodal inputs, MCP, and Supabase long-term memory.
Details to know

Add to your LinkedIn profile
November 2026
2 assignments
See how employees at top companies are mastering in-demand skills

There are 6 modules in this course
How can I start automating work with n8n if I have never built a workflow before? In this module, you will set up n8n and build an AI chat agent that answers questions inside a chat interface. You will learn what n8n is, how it differs from other automation tools, and why its node-based, low-code approach suits AI-driven automation. You will explore what separates an AI agent from a simple chatbot: it can reason, choose tools and act on your behalf. Then you will work hands-on with n8n nodes, triggers and the built-in Chat feature. You will also configure the AI Agent node, including the language model, the system message and the key parameters that shape its behavior. A reference guide summarizes the n8n interface, the core node types and the terms you will see throughout automation work. This module is for no-code builders, entrepreneurs, product managers, analysts and consultants who want to bring AI into everyday workflows. No coding experience is required, though some familiarity with AI chat tools such as ChatGPT helps. By the end, you will have a working n8n workflow with a configured AI chat agent that you can test, extend and reuse as the starting point for your own automations.
What's included
4 videos1 reading1 assignment
4 videos•Total 16 minutes
- Why No-Code AI Workflows Matter for Business Automation•3 minutes
- How Node-Based Automation Platforms Work•4 minutes
- Build a Chat-Triggered Workflow from Scratch•6 minutes
- Set the Model, System Message and Options in n8n•3 minutes
1 reading•Total 10 minutes
- n8n Cheat Sheet: Interface, Core Nodes and Key Terms•10 minutes
1 assignment•Total 10 minutes
- Check Your Knowledge of n8n Workflows and AI Agent Setup•10 minutes
How do I make an AI agent give consistent answers and remember what users told it? In this module, you will turn a generic n8n AI agent into a focused assistant that follows clear instructions and keeps track of the conversation. You will learn how AI agents reason, decide which tools to use and act on a request, and why the same model behaves differently depending on its instructions. You will practice prompt engineering for system messages: role definition, task boundaries, tone, output format and examples. You will then explore why memory turns a chatbot into a context-aware assistant, compare options such as simple chat memory, Supabase and Zep, and connect a memory node to your agent step by step. A reading gives you system prompt templates and a checklist for choosing memory settings. This module is for no-code builders, business owners, product managers and consultants who want dependable AI assistants. No coding is needed; basic comfort with AI chat tools such as ChatGPT is enough, and you will need access to n8n. In the final lab, you will build a customer support assistant with a custom system prompt and chat memory, giving you a reusable template for your own business scenarios.
What's included
4 videos1 reading1 ungraded lab
4 videos•Total 14 minutes
- How AI Agents in n8n Reason, Decide and Use Tools•2 minutes
- Writing Effective System Prompts for AI Agents•7 minutes
- Why AI Agents Need to Remember Users•4 minutes
- Connect a Chat Memory Node to Your n8n Agent•1 minute
1 reading•Total 10 minutes
- System Prompt Templates and a Memory Settings Checklist•10 minutes
1 ungraded lab•Total 20 minutes
- Build a Customer Support Assistant with a Custom Prompt and Chat Memory•20 minutes
How can my AI agent work inside the apps I already use every day? In this module, you will connect an n8n AI agent to a messaging platform, Google Calendar and Gmail, so it can talk to users, schedule meetings and handle email on your behalf. You will learn how n8n triggers, credentials and OAuth work when an agent connects to external services, and how tools let the agent decide when to read, create or send something. Hands-on lessons walk you through bringing your agent into a messenger, letting it create and check calendar events, and authorizing Gmail so it can read and send messages. You will also customize the agent's logic, tone and task handling so it fits the way your business works. A reading covers Google credential setup, common tool operations and fixes for typical connection errors. This module suits entrepreneurs, freelancers, managers and operations teams who spend too much time on scheduling and routine messages. No coding is required; you will need a Google account and an n8n instance. In the final lab, you will build a daily briefing agent that reads tomorrow's calendar and emails you a clear agenda, giving you an assistant you can adapt to your own working week.
What's included
4 videos1 reading1 assignment
4 videos•Total 44 minutes
- Bring Your n8n AI Agent to Messenger Apps•14 minutes
- Let Your AI Agent Schedule Meetings in Google Calendar•20 minutes
- Gmail Credentials, OAuth and Email Tools in n8n•5 minutes
- Customize an AI Agent's Logic, Tone and Tasks for Your Business•4 minutes
1 reading•Total 10 minutes
- Google Credentials, Tool Operations and Common Connection Errors in n8n•10 minutes
1 assignment•Total 10 minutes
- Test Your Skills in Connecting n8n Agents to Gmail, Calendar and Messengers•10 minutes
How can an AI agent research a question, report back and remember to follow up, without me doing it by hand? In this module, you will build an n8n AI agent that searches the web in real time, sends automated emails and turns chat requests into tasks. You will connect Perplexity AI so your agent can pull current information into its answers instead of relying only on what the language model already knows. You will build email workflows that deliver alerts and summaries automatically, and you will add intermediary messages so users see progress updates while the agent works through longer requests. You will also connect Google Tasks so the agent can create and manage to-do items straight from a conversation. A reading collects prompt patterns for research, email and task automation, with tips for keeping results accurate. This module is for consultants, sales and marketing professionals, entrepreneurs and analysts who handle research and follow-ups every day. No coding is needed; you will need an n8n instance, a Google account and a Perplexity API key. In the final lab, you will build a lead research agent that researches a prospect, emails you a short summary and creates follow-up tasks, giving you a ready workflow for sales or client work.
What's included
4 videos1 reading1 ungraded lab
4 videos•Total 18 minutes
- Add Real-Time Web Search to Your n8n Agent with Perplexity AI•4 minutes
- Deliver Automated Email Alerts and Summaries from n8n•3 minutes
- Keep Chat Users Informed with Progress Updates in n8n•8 minutes
- Turn Chat Requests into Google Tasks To-Do Items•4 minutes
1 reading•Total 10 minutes
- Prompt Patterns for Research, Email and Task Automation•10 minutes
1 ungraded lab•Total 20 minutes
- Build an Inbox Triage Agent That Prioritizes Gmail and Drafts Replies•20 minutes
What can I do when a single workflow and the standard nodes are not enough for my automation? In this module, you will extend an n8n AI agent with modular sub-workflows, custom code, image and audio handling, and external tools connected through the Model Context Protocol (MCP). You will learn how to split a large automation into sub-workflows that an agent calls as tools, which makes complex assistants easier to test and maintain. You will study the design principles that separate a demo agent from a dependable one: tool selection, error handling, data formatting and clear responsibilities. Hands-on lessons show you how to use the Code node to transform data with short JavaScript snippets and how to let your agent accept and produce images, audio and text. You will also see how MCP gives agents a standard way to discover and use tools and data sources. A reading collects ready-to-use Code node snippets, multimodal setup notes and an MCP connection checklist. This module is for no-code builders ready to move into low-code, technical professionals and consultants building automations for clients. No programming experience is required, because every snippet is explained line by line. In the final lab, you will build a receipt processing agent that reads a photo of a receipt, validates the amounts with a Code node and returns clean, structured expense data.
What's included
5 videos1 reading
5 videos•Total 27 minutes
- Modular Sub-Workflows as Tools for n8n Agents•16 minutes
- Design Principles for Reliable n8n AI Automations•4 minutes
- Add Custom JavaScript Logic with the n8n Code Node•3 minutes
- Process Images, Audio and Text with Multimodal AI in n8n•2 minutes
- Connect n8n Agents to Tools with MCP (Model Context Protocol)•2 minutes
1 reading•Total 10 minutes
- Code Node Snippets, Multimodal Setup and an MCP Checklist•10 minutes
How do I give an AI agent a memory that lasts beyond one conversation and grows with my business? In this module, you will build long-term memory for an n8n AI agent using Supabase, so the agent can store what it learns about users and recall it in later sessions. You will start by adding basic chat memory and seeing where short-term memory stops being enough. You will then design the agent’s memory architecture: what to store, how to structure it and how the agent should decide what to save and retrieve. Next, you will set up a Supabase project, connect it to n8n and build the full memory workflow step by step. You will then test the memory system, find typical errors and debug them so the agent saves and recalls information reliably. To close, you will review real-world AI agent examples that show how memory, tools and prompts come together in practical assistants. A reading compares n8n memory options and lists setup and troubleshooting tips. This module is for no-code builders, analysts, consultants and technical professionals who want assistants that feel personal and stay accurate over time. No coding skills are required; a free Supabase account and an n8n instance are recommended. In the final role play, you will advise a client on which memory setup fits their assistant and justify your choice, so you leave able to recommend and build the right memory for any project.
What's included
6 videos1 reading
6 videos•Total 80 minutes
- Add Basic Chat Memory to an n8n AI Agent•11 minutes
- Designing the Agent’s Memory Architecture•16 minutes
- Setting Up Supabase and Implementing the Workflow•9 minutes
- Building the AI Agent’s Memory•16 minutes
- Testing and Debugging the Memory System•20 minutes
- Real-World Examples of AI Productivity Agents•7 minutes
1 reading•Total 10 minutes
- Comparing n8n Memory Options with Setup and Debugging Tips•10 minutes
Instructors


Offered by
Why people choose Coursera for their career

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
What brings you to Coursera today?

Ends today! Cyber Monday savings on a year of skills


Gift your team new skills

Frequently asked questions
To access course materials, assignments, and earn a Certificate, you'll need to purchase the Certificate experience when you enroll in a course. Eligible learners may also have the option to start with a Free Trial. Some courses may also offer a Full Course, No Certificate option. This lets you access course materials, submit required assessments, and receive a final grade, but you won't be able to earn or purchase a Certificate.
When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
More questions
Financial aid available,
