Triggers

Chat

Chat starts the flow when someone writes in its chat: the chat window in the editor (to try it), or a chat page you can share by link or put on your website. Each message is an item with message and session_id; an AI agent and Reply after it answer, and the agent remembers each visitor’s conversation.

In the editor: Starts the flow when someone writes in its chat: the chat window in the editor, or a chat page you can share or put on your website. Each message is an item with message and session_id. Put an AI agent and Reply after it.

Settings

Chat name

Text

Shown at the top of the chat page. The flow’s name when empty.

Welcome message

Text

Chat page

Pick one

On: anyone with the link can chat while the flow is live. The link and the code for your website are in the flow’s … menu, Chat page.

Only people in your team, from the chat window in the editor.

  • Off
  • On

Chat from my WhatsApp

Pick one

On: talk to this flow from your own WhatsApp through xMap’s number, with nothing to connect, once your number is confirmed in Settings, Your WhatsApp. Only you, the flow’s owner, and only while it is live. On xMap’s number Ask xMap answers you first; write @ and the flow’s name before a question to ask this flow once, talk to and its name to keep it answering, and talk to xMap to go back. Which flows answer me lists them.

On: talk to this flow from your own WhatsApp, through xMap’s number (no connection needed).

  • Off
  • On

What comes out

Each item that leaves the block carries these fields, to use in the blocks after it as {{field}}.

Each message

Every message someone writes.

  • message: What they wrote.
  • session_id: Their conversation (one per browser), so the agent remembers it.

How to use it

Retail

Chat about places near anyone

A finder for your website: visitors say what and where, and get the closest places with ratings.

Real estate

Ask about a neighbourhood

Buyers ask about an area and get the people, schools and shops around it.

Internal

A team assistant

Your team asks questions about your own data in plain words.

Travel

What is near the hotel?

Guests ask for a restaurant or the weather tomorrow and get an answer at once.

Public sector

Service finder

People find the nearest service centre and its hours from your own table.

Sales

Qualify visitors

The agent asks a few questions and logs the good leads in your CRM.

Good to know

  • Each message is one run of the flow and uses its credits. A visitor can send at most 40 messages a day, and the flow’s monthly credit limit applies.
  • The editor’s Chat button lets your team try it: it runs for real but sends nothing.
  • Conversations are kept in the visitor’s browser, and by the agent for 30 days (the flow’s … menu, Conversations).
  • Replacing the flow’s webhook address gives the chat page a new link: the old one stops working.
  • Anyone with the chat page’s link can write to it, and what they write can steer what an AI agent sends. When the agent’s tools send (email, an app, an API, Outreach), xMap suggests an Approval after the agent, added with one click: the agent still answers at once, and its sends wait until someone on your team says yes.

Works well with

  • AI agent: An AI agent: for each incoming message it thinks, uses the blocks you link to its Tools port (data, xMap AI, lookups, your tables, other flows, apps), remembers the conversation and writes an answer in {{reply}}.
  • Reply: Answers whoever started the flow, on the same channel: the app or system that called its Webhook / API gets the answer back, and a message from Slack, WhatsApp, Telegram, Teams, SMS, Outlook or Discord gets a reply in the same chat, through the account of the block that received it.
  • Nearby places: Places around a point from xMap’s own places database (300M+ places, refreshed every month): pick the types of place (more than 5,000, such as Restaurant, Cafe, Pharmacy, Hospital or Gas station, or a whole group of them) and how far to look.
  • My data: Brings in a table you uploaded or a list you saved on the My data page: your stores, customers, target accounts or sites.

Templates that use it

And 26 more in the template gallery.

Stories with it

Help articles

Guides and terms

Industries that use it

B2B sales · Retail & franchise · Restaurants & cafes · Real estate · FMCG & distribution · Marketing & agencies · Recruiting & staffing · Logistics & delivery · Government & cities · Investors & consultants · Healthcare & pharma · Hotels & tourism · Banking & lending · Energy & EV · Construction & facilities · Telecom · Automotive & mobility · Education & training · Agriculture & food supply · Fitness, beauty & wellness · Law & professional services · Media & publishing · Events & venues · Non-profits & humanitarian · Security & emergency services · Environment & climate · Ports & shipping · E-commerce & D2C · Manufacturing & industrial · Software & tech · Sports clubs & leagues · Pet care & veterinary · Home services & trades · Food delivery & quick commerce · Airports & aviation · Mining, oil & gas · Public transport · Water & waste utilities · Insurance · Fishing & aquaculture

Try it

Build a flow with Chat on the home page, no account needed, or book a call. Try it live