Updated

Dev Tools: Dynamic block

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: 

You can find the dynamic block in the content node:

To set up the dynamic block, follow the instructions below.

  1. Choose a request type (POST, GET, PUT, or DELETE)
  2. 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
  3. Fill in the headers and body if needed

9-3.png

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

Was this article helpful?