Testing Flow

3 min read


After you have finished designing your Flow, it is best to test it to make sure it works as expected. This can prevent the bot from sending irrelevant messages or not replying to your customers after receiving their messages.

There are two ways to test your Flow, from the website or on your WhatsApp.

Testing on WhatsApp

  1. Click Test on WhatsApp. Test on WhatsApp button

  2. You can select the WhatsApp account you would like to use to send the messages, the receiver’s name, and the receiver’s WhatsApp number. You can also select which block to send. Click Test on WhatsApp to send the messages. Conact info

  3. Verify that the messages are received on the recipient’s WhatsApp. You can interact with the bot by replying to the messages to test the bot’s behavior.

Testing In ChatMamba

Important

You must save your Flow before testing.

You can also test your Flow in the website directly without going through WhatsApp. When testing your Flow in the website, you can see what actions are run on the backend, such as subscribing your contact to a Sequence, so you can ensure the bot behave as you expected. To test your Flow:

  1. Click Test This Flow Test This Flow button

  2. A chat box will be shown. Here’s an explanation of each action you can take in the chat box:

    Break down of the test chat box

    1. Send Message - This lets you test how the bot will react based on the message you sent, such as matching to a certain Match Group in Process Reply.
    2. Show Flow keywords - Shows all the keywords in the Flow you are currently testing.
    3. Skip / Show typing and recording delay - A toggle to let you skip typing and recording delay to save you some time. The delay will be shown by default.
    4. View / Hide action logs - Actions are cards that are executed on the server, which are not seen by you and your customers. Subscribing to Sequence, adding contact to CRM, matching a keyword group are some examples of actions. You can see the action logs here to confirm that they are executed.
    5. Restart conversation - Restart the conversation and clear any actions and delays.
    6. Start conversation from a Block - Lets you start directly from a block and save you some time.
    7. Edit test contact - Edit contact details like name and source phone (the WhatsApp account number that the contact you through). These may be required to test some scenarios.
  3. To get started, choose a keyword (or press the Start button if you’re testing a Sequence / Broadcast) and see the bot in action. Below is an example:

    Flow testing example

  4. If the bot does not behave as you expected, you can edit your Flow and test again, until it matches your expected behavior. Always remember to save your Flow before testing.

Limitations

There are some limitation when testing your Flow in ChatMamba. This includes:

  • Sequences will not be sent after delay.

    If your Flow subscribes to a Sequence, that Sequence will not be sent in the test chat box after the preset delay. If you wish to test if a Sequence Queue is sent, you can test on WhatsApp.

  • Media are being sent in test chat box, but not on WhatsApp.

    Although media (image, video, voice message, attachment) may be shown in the test chat box, they may not be sent on WhatsApp due to incompatible formats with WhatsApp’s allowed formats. To ensure that your media can always be sent, follow the best practices.