← Docs

WhatsApp Bot Setup

WhatsApp Bot Setup Guide

Complete setup guide for the prprtyplex WhatsApp maintenance bot -- from Twilio account to live bot.

Prerequisites

Part 1: Meta Business Verification

WhatsApp requires a verified Meta Business account. This is a one-time process.

Verify Your Business with Meta

  1. Go to business.facebook.com and create a Business Account if you don't have one
  2. Navigate to Business Settings > Business Info
  3. Enter your business details:
    • Business name: Your legal business name (must match your documents)
    • Alternative business name: Your brand name (e.g., your company name)
    • Type: Sole Proprietorship or your business type
    • Address: As it appears on your business documents
  4. When prompted to verify, upload your business document (EIN confirmation letter, business registration, or tax document)
  5. Enter and verify your business email address (you'll receive a verification link)
  6. Wait for Meta to approve -- usually within 24 hours
Important: The business name you enter must exactly match the name on your uploaded document. If your EIN letter shows a DBA name, use that. You can set a different display name for WhatsApp later.

Part 2: Twilio Setup

Create a Twilio Account and Get a Number

  1. Sign up at twilio.com and add a payment method
  2. Go to Phone Numbers > Manage > Buy a Number
  3. Purchase a US local number with SMS and Voice capabilities
  4. Note your Account SID and Auth Token from the Twilio dashboard (you'll need these later)

Register as a WhatsApp Sender

  1. In Twilio, go to Messaging > Senders > WhatsApp Senders
  2. Click Create new sender
  3. Click Continue with Facebook -- a popup will open
  4. Select or create your WhatsApp Business Account linked to your verified Meta Business
  5. Create a WhatsApp Business Profile:
    • Display name: Your brand name
    • Category: Professional Services
  6. Select Add a new number and enter the Twilio phone number you purchased
  7. Verify the phone number via text message -- the code appears in the Twilio window
  8. Close the Facebook popup and return to Twilio

Configure the WhatsApp Sender

  1. On the WhatsApp Senders page, click Edit Sender on your new number
  2. Under Messaging Endpoint Configuration:
    • Messaging service: Select your messaging service (or create one)
    • Webhook URL for incoming messages: Your prprtyplex webhook URL (provided during connector setup)
  3. Under Business profile information:
    • Profile about: A short description of your business (required)
    • Optionally add a profile photo, website, and address
  4. Click Save
  5. Wait for the sender status to change to Online

Part 3: prprtyplex Configuration

Add the WhatsApp Connector

  1. Log in to your prprtyplex web dashboard and go to System Admin > Integrations
  2. Click Add Connector and select WhatsApp Bot
  3. Select the property this bot should serve
  4. Enter your Twilio credentials:
    • Account SID: From your Twilio dashboard
    • Auth Token: From your Twilio dashboard
    • WhatsApp From Number: Your Twilio number with country code (e.g., +12125551234)
  5. Optionally add Bot Instructions to describe your room numbering and building layout
  6. Click Save -- the connector will show a webhook URL
  7. Copy the webhook URL and paste it into the Twilio sender's Webhook URL for incoming messages field
Webhook URL format: https://prprtyplex.com/api/webhooks/whatsapp/your-company-code
Your company code is the same slug you use to log in to the mobile app.

Bot Instructions

Customize how the AI handles your property by adding instructions in the connector settings. This is optional but recommended.

Example

Rooms starting with 1 are in the Main Building, starting with 2 are in the East Wing, 3 are cottages. If someone says a short number like "101" or "305" without specifying a building, ask which building they mean.

Without custom instructions, the bot uses your room list and asks for clarification on ambiguous numbers.

Testing

Verify Everything Works

  1. Save the WhatsApp number as a contact on your phone
  2. Open WhatsApp and send a test message like "room 101 AC not cooling"
  3. The bot should reply with a work order confirmation within a few seconds
  4. Check the prprtyplex app or web dashboard -- the work order should appear
  5. Try sending a photo with a message -- it should attach to the work order
  6. Claim and complete the work order in the app -- the original sender should receive a WhatsApp status update

Status Notifications

The person who sent the original request receives WhatsApp updates as the work order progresses:

Troubleshooting

Bot doesn't respond to messages

Check these in order: (1) WhatsApp sender status is "Online" in Twilio, (2) Webhook URL is set correctly in the sender settings, (3) WhatsApp connector is active in System Admin > Integrations, (4) Account SID, Auth Token, and From Number are correct.

"Sync failed: Unknown connector type: whatsapp"

This is harmless -- the WhatsApp connector uses webhooks, not polling. The error appears when the system tries to poll it like a PMS connector. It does not affect functionality.

Meta Business verification rejected

Make sure the business name you entered exactly matches the name on your uploaded document (EIN letter, business registration, etc.). If your document shows a DBA name, use that as the business name and put your brand name in the "Alternative business name" field.

WhatsApp sender shows "Offline"

Wait a few minutes and refresh -- it can take up to 5 minutes for the sender to come online after initial setup. If it stays offline, check that the phone number verification completed successfully.

Photos not attaching to work orders

Verify the Twilio Account SID and Auth Token are correct in the connector settings. Photo downloads require valid credentials to authenticate with the Twilio API.

Bot creates work order with wrong room

Add custom Bot Instructions in the connector settings to describe your room numbering and building names.

Need help?

Contact support@prprtyplex.com and we'll help you get set up.

arrow_back Back to Docs