I’m building a webchat bot in n8n for a simple restaurant booking flow

Here’s my setup:

  1. Bot asks: “Do you want to book a table?”

  2. I added two buttons – Yes and No – in the Function node (with type: “reply”, title, and payload).

  3. The idea is:

    • If user clicks Yes → show available tables (from Google Sheets).

    • If user clicks No → end the conversation politely.

The problem:
:backhand_index_pointing_right: The Yes/No buttons are not showing up in the chat.
Instead, the bot just sends plain text without the buttons.

Can anyone guide me on:

  • How to properly configure Yes/No buttons in the n8n webchat?

  • Do I need a special node or setting in the AI Agent / Function node to display them?

  • Any working example JSON for Yes/No buttons?

Hello @vijayakumar_s
There isn’t button support in the chat, it’s all text..

However, you can use the “Respond to Chat” node,

You can configure it with a question, then parse the user’s answer and branch from there,

like this:

I don’t know why the Switch node isn’t appearing correctly, but it should look like this:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.