Evolution API and N8N detect human response to stop

Hey folks, quick question! Sorry for the late hour.

For those using EVO API and N8N:

What condition or action do you use when the bot needs to stop? For example:

A person is interacting with the AI automation.

At some point, a human needs to step in and reply from the mobile phone.

How do you make the automation detect that it shouldn’t respond because it’s a human replying?

I’ve already read the documentation for the WhatsApp Business mobile app, and if a tag is added, EVO API won’t read it, and EVO API’s webhook doesn’t detect when the human replies!

Information on your n8n setup

  • n8n version: Version 1.97.1
  • Database (default: SQLite): REDIS and Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): OWN
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: UBUNTU

Why not use send and wait for response


Or how you connect bewteen Evolution API and n8n in workflow.

Maybe create a Text Classifier to distinguish which should go to evolution or not.

Hello, because I not using WhatsApp Cloud Api, I’m using Evolution API

Use evolution-api “fromMe” key to detect when user sends message from the phone, if it’s true create a session variable with a flag that will stop the workflow. You can use redis and set an expiration time or create a trigger that will remove the flag or the session.