WhatsApp

How to connect create a WhatsApp chatbot with AskAI

Step 1: On My AskAI

Step 2: Then on Facebook

  1. Create Meta (Facebook) Business Account

  2. Create new Meta (Facebook) app

    • Login to your account

    • Select “My Apps”

    • Select “Create App”

    • Select options

      • Use case: Other

      • App type: Business

    • Enter app details

      • App name

      • App contact email

      • Business Account (optional)

  3. Add WhatsApp to your Meta app

    • Find “Add products to your app”

    • Select ‘WhatsApp’ Set up

    • Quick Start

      • Select Business Account

  4. Purchase a new business number for WhatsApp

  5. Configure WhatsApp settings

    • Select ‘Configure webhooks’

      • ‘Edit’ webhook

      • Add a callback URL and Verify token.

        • Callback URL: https://connect.myaskai.com/whatsapp/incoming-webhook

        • Verify token: 2740

      • ‘Manage’ webhook fields

        • Add and subscribe only to **messages** v17.0

    • Add a payment method to your WhatsApp app

      • Payment settings

      • Add payment method

    • Add phone number (and business details)

    • Proviide necessary info

    • Verify number

  6. Send a test message

    • Select ‘API Setup’ and find ‘Step 1’:

    • Select the ‘From’ number

    • Choose the option to add and verify a new number

    • Select ‘To’ number (add a personal number for testing)

    • Select ‘Send Message’

  7. Update business details for your Meta app

    • Within your Meta app, select ‘Settings > Basic’

    • Fill in all the necessary information

  8. Verify Business Account

    • Select ‘Settings’

    • Select ‘Business Account Info’

      • Provide all the necessary information

    • Select ‘Security Centre’

      • Select ‘Start Verification’

  9. Create a System User in your Business Account

    1. https://business.facebook.com/ > Settings > Users > System Users

    2. Create new system user

      1. Name (anything

      2. Role: Admin

    3. Select ‘Add Assets’

      1. Select ‘Apps’

      2. Select the new app (for WhatsApp)

      3. Toggle ‘Manage app’

    4. Generate new token for system user

      1. Select app and ‘Generate new token’

      1. Select ‘Never’ expire

      2. Select only permissions: whatsapp_business_messaging

      3. Select ‘Generate token’

      4. Important: Save this token somewhere, you’ll need it

  10. Add Token and Phone Id to your AskAI

    1. Open your AskAI

    2. Open ‘Integrate/Embed’

    3. Toggle WhatsApp

      1. Input ‘Phone number ID’ — this is from your Meta app (API setup, step 5), ensure you select the correct ‘From’ number and copy the phone ID from here

      2. Input ‘Token’ — this is from Step 8, from the system user in your Business Account

    4. Select ‘Connect with WhatsApp’

  11. Try your AskAI in WhatsApp!

    1. Click on the WhatsApp short link to start a conversation!

  12. Launch your WhatsApp integration

    1. Set your Meta app from development to live (Open your Meta app from https://developers.facebook.com/apps)

    2. Once live, you can share the WhatsApp short link from your AskAI’s settings

Last updated