A bot that hears the customer out and replies once

The scenario doesn't react to each message separately: it waits out a pause, gathers the customer's burst of messages together and uses AI to reply with one coherent answer.

  • The customer's messages are gathered into one thought
  • The reply comes once, not per line
  • AI answers the whole request at once
  • Conversation history is kept per session
Webhook

How it works

To connect Databricks and WhatsApp Business Cloud, you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: Incoming Message Webhook
  2. Then: Extract User Data
  3. Then: Check Active Session
  4. Check: If
  5. If yes: Create New Session
  6. Then: Store Resume URL
  7. Then: Wait 60s (New Session)
  8. Then: Fetch All Messages
  9. Then: Format All Messages
  10. Then: AI Agent
  11. Then: Send a text message
  12. Then: Clear Session
  13. If no: Append Message
  14. Starts when: Respond to Webhook
  15. Then: OpenAI Chat Model
  16. Starts when: Telegram Trigger

You can launch this Databricks + WhatsApp Business Cloud integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.