DevTools provide much more flexibility in customizing automations. In this article, we'll examine the Dynamic block feature more closely.
Dynamic block allows you to receive a message created on the remote server and then send it to your contacts. Note that the message should be created in a specific format as described in the documentation:
- For Facebook Messenger: https://manychat.github.io/dynamic_block_docs/
- For Instagram, WhatsApp, and Telegram: https://manychat.github.io/dynamic_block_docs/channels/
You can find the dynamic block in the content node:
To set up the dynamic block, follow the instructions below.
- Choose a request type (POST, GET, PUT, or DELETE)
-
Enter your HTTPS link to the Request URL field
If you don't have your own server yet but want to try this feature, check this article to set up a test server: Dev Tools: Quick Test with Glitch - Fill in the headers and body if needed
You can test your request by selecting a contact for testing, then switching to the response tab, and clicking the Test Request button.
An important option to keep in mind is fallback. It allows the automation to perform a separate step in case of an error with the server response. Setting up a fallback step is not mandatory, but in case it’s missing, you will not know if something goes wrong with the server response.
💡 You can see error and warning logs related to the dynamic block requests in Settings → Logs.