{"product_id":"iess-appointment-whatsapp-bot-automation-n8n-w-evolution-ollama","title":"IESS Appointment WhatsApp Bot Automation (n8n) w\/ Evolution \u0026 Ollama","description":"\u003ch3\u003eAutomate IESS appointment WhatsApp conversations with n8n—powered by Evolution API + Ollama\u003c\/h3\u003e\n\u003cp\u003eThis IESS Appointment WhatsApp Bot Automation workflow automatically starts an IESS WhatsApp chat, listens to incoming webhook messages, classifies what the bot is asking for using \u003cstrong\u003eOllama (llama3.2)\u003c\/strong\u003e, responds with the correct stored values via \u003cstrong\u003eEvolution API\u003c\/strong\u003e, and logs availability results to a CSV.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a schedule\u003c\/strong\u003e (or manually) to load configuration (bot number, ID details, specialty, and Evolution API settings) and initialize a \u003cstrong\u003esession state\u003c\/strong\u003e file.\u003c\/li\u003e\n  \u003cli\u003eSends an initial \u003cstrong\u003e“Hola”\u003c\/strong\u003e message to the IESS appointment bot using the \u003cstrong\u003eEvolution API sendText\u003c\/strong\u003e endpoint.\u003c\/li\u003e\n  \u003cli\u003eReceives WhatsApp events through a configured \u003cstrong\u003eEvolution API webhook\u003c\/strong\u003e, then extracts the bot’s latest message text.\u003c\/li\u003e\n  \u003cli\u003eChecks the saved session state and continues only if the session is active \u003cem\u003eand\u003c\/em\u003e the incoming message comes from the \u003cstrong\u003econfigured bot number\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eUses \u003cstrong\u003eOllama (llama3.2)\u003c\/strong\u003e (with a \u003cstrong\u003eregex fallback\u003c\/strong\u003e) to determine whether the bot is requesting:\n    \u003cul\u003e\n      \u003cli\u003ea \u003cstrong\u003ecédula\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003ean \u003cstrong\u003eexpedition year\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003ea \u003cstrong\u003especialty\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003emenu\/confirmation input\u003c\/li\u003e\n      \u003cli\u003e\u003cstrong\u003ereporting availability\u003c\/strong\u003e\u003c\/li\u003e\n      \u003cli\u003eor a \u003cstrong\u003erestart\u003c\/strong\u003e\n\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003eSends the appropriate WhatsApp reply via \u003cstrong\u003eEvolution API\u003c\/strong\u003e; when availability is returned, it \u003cstrong\u003elogs a timestamped row to a local CSV\u003c\/strong\u003e and marks the session as complete.\u003c\/li\u003e\n  \u003cli\u003eIf the bot requests a restart, the workflow sends \u003cstrong\u003e“Hola”\u003c\/strong\u003e again to restart the conversation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRunning a hands-off WhatsApp IESS appointment check for a specific cédula\/specialty and capturing availability to CSV.\u003c\/li\u003e\n  \u003cli\u003eScheduling periodic appointment availability monitoring without manual messaging.\u003c\/li\u003e\n  \u003cli\u003eBuilding reliable conversation handling with n8n for WhatsApp bot flows using Evolution + AI classification.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e Evolution API (Evolution Manager), WhatsApp webhook endpoint \u003ccode\u003e\/evolution-iess\u003c\/code\u003e, \u003cstrong\u003eOllama\u003c\/strong\u003e (llama3.2)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\/tech:\u003c\/strong\u003e webhook, http request, set, code, switch, manual trigger, plus session state persistence to disk\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput:\u003c\/strong\u003e local \u003cstrong\u003eCSV availability logging\u003c\/strong\u003e with timestamped results\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45747800113331,"sku":"N8N-17660","price":33.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/rqnnLnp9J4XO_Jwlx1EWO_3ESATlcW.png?v=1785488598","url":"https:\/\/buyflowscripts.com\/products\/iess-appointment-whatsapp-bot-automation-n8n-w-evolution-ollama","provider":"N8N Commerce","version":"1.0","type":"link"}