# Handle IESS medical appointment bot replies with Evolution API: n8n workflow

> Started by another system calling it. It calls services over plain HTTP rather than through connectors.

Source: https://millionrounds.com/workflow/handle-iess-medical-appointment-bot-replies-with-evolution-a (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Handle IESS medical appointment bot replies with Evolution API

Started by another system calling it. It calls services over plain HTTP rather than through connectors. 19 steps, 1 branch: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fhandle-iess-medical-appointment-bot-replies-with-evolution-a)

**19 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 3 Logic 8 Service 8

The steps in the order they run, from what starts it.

- 1 **Ejecutar manualmente** Manual trigger *Starts it*
- 2 **Cada hora** Schedule trigger *Starts it*
- 3 **Webhook Evolution** Webhook *Starts it*
- 4 **Config** Set *Logic*
- 5 **Extraer mensaje** Code *Logic*
- 6 **Preparar estado** Code *Logic*
- 7 **Leer estado** Read Write File *Service*
- 8 **Guardar estado** Read Write File *Service*
- 9 **Extraer estado** Extract From File *Service*
- 10 **Enviar hola** Http Request *Service*
- 11 **Sesion activa y es el bot** Code *Logic*
- 12 **Clasificar con IA** Code *Logic*
- 13 **Rutear accion** Switch *Logic*
- 14 **Enviar respuesta** Http Request *Service*
- 15 **Registrar CSV** Code *Logic*
- 16 **Enviar hola de nuevo** Http Request *Service*
- 17 **Guardar CSV** Read Write File *Service*
- 18 **Marcar fin** Code *Logic*
- 19 **Guardar estado final** Read Write File *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 19, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 19 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fhandle-iess-medical-appointment-bot-replies-with-evolution-a)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**Block daily salah windows in Google Calendar with Telegram** 19 steps · Google Calendar, Google Sheets](https://millionrounds.com/workflow/block-daily-salah-windows-in-google-calendar-with-telegram)
- [**Context-aware Google Calendar management with MCP** 19 steps · Google Calendar](https://millionrounds.com/workflow/context-aware-google-calendar-management-with-mcp)
- [**Recursive Google Drive folder duplicator** 19 steps · Google Drive](https://millionrounds.com/workflow/recursive-google-drive-folder-duplicator)
- [**Send pre-meeting Slack briefings with Google Calendar** 19 steps · GitHub, Jira](https://millionrounds.com/workflow/send-pre-meeting-slack-briefings-with-google-calendar)
- [**Sync Fathom meeting summaries and action items** 19 steps](https://millionrounds.com/workflow/sync-fathom-meeting-summaries-and-action-items)
- [**AI Calling Agent with Retell AI and Google Calendar Scheduling** 19 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/ai-calling-agent-with-retell-ai-and-google-calendar-scheduli)
