Step-by-Step Guide to Sending Multiple WhatsApp Messages from Bubble API on Make.com

Hey there, Make.com users! Today, we're going to tackle a common problem that some of you might have encountered: sending multiple WhatsApp messages from the Bubble API. This issue can be a bit tricky, but don't worry, we've got a step-by-step solution for you.

The Problem

So, you've managed to set up your API from Bubble, receiving a list of items. You've split the list items into separate bundles, set variables based on order, aggregated arrays, and finally, you're ready to send a message per array. But then, you run into two problems:

  1. With the multiple variables, it creates multiple operations. If your list only has a few items, the last operations are empty.
  2. It's only sending the first array.

Quite a pickle, right? But don't worry, we've got a solution for you.

The Solution

The key to solving this problem lies in the WhatsApp setup. If you're trying to put the whole array of "sell" in the "receiver" field, you might be better off using a text aggregator and mapping the aggregated string into the receiver field. This is because the field in between the "[ ]" expects a number, so you'd put 1 to retrieve the first value, or 5 to retrieve the last value, for example.

If you want to send each collection to WhatsApp, you might not need an array aggregator. Instead, you could aggregate your aggregator, i.e., put another aggregator after your current aggregator.

But what if you want to pass both array collections' specific items from the Array aggregator to WhatsApp? In that case, adding an iterator should do the trick. This will allow WhatsApp to collect a specific collection item (sell) and complete the process, then do it again for the second array collection item.

Troubleshooting Tips

If you're still having trouble, here are a few things to check:

  • Make sure your variables are set up correctly. If they're not, this could cause issues with the operations.
  • Check your WhatsApp setup. If it's not configured correctly, it might not send the arrays as expected.
  • Try using a text aggregator if you're trying to put the whole array in the "receiver" field.
  • If you're trying to send each collection to WhatsApp, consider using another aggregator after your current one.

Conclusion

And there you have it! With these steps, you should be able to send multiple WhatsApp messages from the Bubble API. Remember, the key is to correctly set up your variables, check your WhatsApp setup, and consider using a text aggregator or an additional aggregator if necessary. And if all else fails, adding an iterator might just do the trick. Happy making!

You do have further questions?

Ask your question via E-Mail: Richard@make-app.de
Book a paid Support & Consulting Session
New Make.com user? Sign up through this Affiliate Link to receive 10.000 operations for FREE.