Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / AI Agents & Assistants

AI Agents & Assistants

Run real estate SMS campaigns with GPT-4.1, Apify, Twilio, and Google Sheets

When an API call/webhook arrives, it runs an AI agent with OpenAI / ChatGPT using Google Sheets, Twilio, Apify.

What it does

# SMS campaign assistant for reaching local agents A chat assistant that turns a short conversation into an SMS blast. Tell it your budget, what your client is looking for and which postcodes to target, approve the draft it writes, and it finds agents in those areas and texts each one personally. Every send is logged to a Google Sheet with its delivery status. ### How it works 1. A webhook receives chat messages and an assistant collects the budget, client requirements and target postcodes one question at a time, remembering the conversation by session. 2. It drafts the SMS and shows it for approval. Nothing is sent until the owner clearly approves, and edits loop back for a fresh approval. 3. On approval the assistant calls a tool that starts the send branch with the approved message and the postcode list. 4. Comma separated postcodes are split into one item each and handled in turn. 5. For each postcode an Apify actor returns local agents with contact details. 6. Each agent is texted through Twilio with their own name inserted, and their number is normalised to international format first. 7. Twilio's response is captured and appended to your sheet, with a short pause between messages. ### Setup 1. Connect your OpenAI, Twilio and Google Sheets credentials. 2. Replace YOUR_TWILIO_PHONE_NUMBER on the Send the SMS node with your own sending number. 3. Replace YOUR_APIFY_API_TOKEN on Find agents in this area, and point YOUR_GOOGLE_SHEET_ID at your own spreadsheet with a Send SMS List tab. 4. On Find agents and send tool, select this same workflow so the assistant can trigger the send branch. 5. Open Campaign assistant and replace the bracketed placeholders with your name, title and phone number. ### Customization Swap the Apify actor for any other source that returns contacts with a phone number.

The steps

  1. Find agents and send tool
  2. Capture the delivery result
  3. Conversation memory
  4. Reply to the chat
  5. Receive chat message
  6. Start the campaign send
  7. Log results to sheet
  8. Keep the contact fields
  9. Find agents in this area
  10. Loop over postal codes
  11. Split the postal codes
  12. Chat model
  13. Campaign assistant
  14. Pause between messages

16 steps in total.

Similar automations