Blooio iMessage bot example

A conversational AI chatbot that responds via iMessage with a natural, casual texting style. Powers msg.new - demonstrates multi-message responses, typing indicators, read receipts, and memory persistence.

Workflow Preview

This workflow powers msg.new - a conversational AI chatbot that responds via iMessage with a natural, human-like texting style.

✅ Step 1: Get Your Blooio API Token

  1. Visit https://blooio.com
  2. Sign up for a dedicated instance
  3. Navigate to Settings → API Keys
  4. Generate a new token and copy it.

🔐 Keep it safe! You’ll paste it in the HTTP Request nodes.

✅ Step 2: Configure Credentials

Update the Bearer token in these nodes:

  • Read (sends read receipts)
  • Type (shows typing indicator)
  • Stop typing (hides typing indicator)
  • HTTP Request (sends messages)

✅ Step 3: Set Up Your Database

This workflow uses Postgres for chat memory. Update the Postgres Chat Memory node with your database credentials.

✅ Step 4: Configure AI Model

Update the Anthropic Chat Model node with your Anthropic API key. The workflow uses Claude Haiku 4.5 by default.

🎯 How It Works

  1. Webhook receives incoming iMessages
  2. If filters for message.received events
  3. Check attachments routes text vs image messages
  4. Wait adds a natural delay before responding
  5. Read sends a read receipt
  6. Type shows typing indicator
  7. AI Agent generates a response using Claude + chat memory
  8. Stop typing hides the indicator
  9. Code splits response into multiple messages
  10. Loop sends each message separately for natural feel

💬 Customization Tips

  • Edit the system prompt in the AI Agent to change the bot’s personality
  • Adjust the Wait duration for different response timing
  • Modify the Code node to change message splitting logic

What This Workflow Does

Input

Any text message conversation

Output

Natural, conversational AI responses split into multiple iMessages

Quick Setup Guide

  1. Step 1

    Get Your Blooio API Token
    1. Visit https://blooio.com
    2. Sign up for a dedicated instance
    3. Navigate to Settings → API Keys
    4. Generate a new token and copy it.

🔐 Keep it safe! You'll paste it in the HTTP Request nodes.


  1. Step 2

    Configure Credentials Update the Bearer token in these nodes:
    • Read (sends read receipts)
    • Type (shows typing indicator)
    • Stop typing (hides typing indicator)
    • HTTP Request (sends messages)

  1. Step 3

    Set Up Your Database This workflow uses Postgres for chat memory. Update the Postgres Chat Memory node with your database credentials.

  1. Step 4

    Configure AI Model Update the Anthropic Chat Model node with your Anthropic API key. The workflow uses Claude Haiku 4.5 by default.