Overview
An n8n chat widget on your website asks visitors a few qualifying questions, and an AI agent proposes a sales call in your calendar that a team member approves in Slack before it is added.
Problem or Objective
- Which agents research inbound business leads, score them or draft replies for a person to review?
- Which agents read and update your calendar on request?
More in Sales, Marketing and Support
AI Agents and Models
Tools and Integrations
- Tools
- n8n · Google Calendar · Slack
- Prerequisites
- An n8n instance reachable from your website, credentials for Google Calendar, Slack and a chat model, and a page where you can place the chat widget.
How It Works
In n8n, add a Chat Trigger, turn on Make Chat Publicly Available, choose Embedded Chat and place n8n's chat widget on your website. Connect it to an AI Agent node with a chat model and a Simple Memory sub-node so it keeps the conversation. In the agent's instructions, list your qualifying questions (company size, need, timeline, budget range) and the rule for who qualifies, and tell it to collect a name and work email only after explaining what they are used for. Give the agent the Google Calendar node as a tool to read upcoming events and propose a free slot, and put the create-event action behind a human review step that sends the approval request to a sales rep in Slack. Visitors who do not qualify get a link to your resources page instead. When the rep approves, the event is added, and the rep emails the visitor to confirm; a denied request is cancelled and the agent tells the visitor someone will follow up.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, Google Calendar, Slack.
- Check the prerequisitesAn n8n instance reachable from your website, credentials for Google Calendar, Slack and a chat model, and a page where you can place the chat widget.
- Gather your detailsCollect what the prompt asks for: Your company, Questions to ask, Who should get a call, Page for visitors who do not qualify, Length of the call, How far ahead to offer slots.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Qualify a visitor and propose a call
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
You are the website assistant for [Your company]. Say first that you are an automated assistant. Ask, one at a time: [Questions to ask]. A visitor qualifies if [Who should get a call]. If they do not qualify, thank them and share [Page for visitors who do not qualify]. If they qualify, explain that their name and work email are used only to arrange the call, ask for both, check the calendar for a free [Length of the call] slot in the next [How far ahead to offer slots] in the visitor's time zone, and propose one event with their answers in the description. The calendar tool waits for a sales rep's approval in Slack; tell the visitor a team member will confirm by email.The create-event tool sits behind human review in Slack: the rep checks the lead and the time zone, then approves or denies. Only an approved call is added, and the rep confirms with the visitor by email.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. n8n's docs describe a Chat Trigger that can be made public through an embedded widget, a Simple Memory node that keeps chat history, an AI Agent node that decides which connected tools to call, a Google Calendar node that can manage events and serve an AI agent, and human review that holds a tool call until a person approves or denies it. They do not cover how accurately a model qualifies leads, so that depends on your questions and rules.
Limitations and Considerations
No call is added to the calendar until a sales rep approves it in Slack, and the rep, not the bot, confirms with the visitor. Tell visitors they are chatting with an automated assistant and what you do with their details, and check that collecting them follows the privacy rules where you operate. The model can misjudge a lead or misread a time zone, so the rep should check both before approving. Google Calendar, Slack and model credentials are needed in n8n. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Chat Trigger | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:35 UTC
What this source supports
- Embedded Chat lets you use n8n's chat widget or your own interface, which calls the Chat URL webhook shown in the node.
- Simple Memory | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:52 UTC
What this source supports
- Use the Simple Memory node to persist chat history in your workflow.
- AI Agent | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.
- Google Calendar | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 07:01 UTC
What this source supports
- n8n has built-in support for a wide range of Google Calendar features, including adding, retrieving, deleting and updating calendar events. This node can be used to enhance the capabilities of an AI agent.
- Human-in-the-loop for tools | Build | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:35 UTC
What this source supports
- The review step can happen through a different channel than the main interaction. If approved, the tool executes with the AI-specified input. If denied, the action is canceled and the AI is informed of the rejection.

