Hi everyone,
I'm currently setting up a workflow where a webhook receives an incoming Instagram DM via ManyChat, sends the message to Voiceflow using an HTTP POST request, and then relays the response back to the user. The process functions correctly until the final step.
In the logs, I can see that Voiceflow provides a complete response, such as:
"Hello! We're absolutely delighted to hear from you..."
I'm not encountering any errors within callin.io, but ManyChat is showing an error indicating a null response or a dynamic block error. The last webhook in callin.io displays the correct response from Voiceflow, but the output bundle is empty. Initially, I suspected this might be due to ManyChat's 10-second response window, as the workflow takes longer to complete because Voiceflow requires time to respond. However, I experimented with a router at the beginning of the flow followed by a quick webhook response, but this did not resolve the issue.
Could someone please assist me? I have a feeling I might be overlooking something simple.
Welcome to the callin.io community!
Does the full scenario complete in under 40 seconds?
How does your Webhook response module appear?
You haven't yet provided enough information to demonstrate the issue, which would allow us to reproduce the scenario and any errors.
To enable others to assist you with your scenario, please provide the following:
1. Relevant Screenshots
Could you please share screenshots of your entire scenario? Also, include screenshots of any error messages, module settings (fields), relevant filter conditions, and module output bundles. We need to see your setup to offer the best guidance.
You can upload images here using the Upload icon in the text editor:
We would appreciate it if you could upload screenshots directly here rather than linking to them externally. This allows us to zoom in when images are clicked and prevents tracking cookies from third-party sites.
2. Scenario Blueprint
Please export the scenario blueprint. Sharing your scenario blueprint file will allow others to quickly recreate your setup and see how you've configured the mappings in each module. It also enables us to provide screenshots or module exports of any solutions we develop for you, which you can then easily paste back into your scenario editor!
To export your scenario blueprint, click the three dots at the bottom of the editor and select ‘Export Blueprint’.
You can upload the file here by clicking this button:
3. Output Bundles of Modules
Please provide the output bundles for each relevant module by running the scenario (you can also retrieve this from the History tab without re-running your scenario).
Click on the white speech bubbles at the top-right of each module and select “Download input/output bundles”.
A. Upload as a Text File
Save the contents of each bundle in a plain text editor (without formatting) as a bundle.txt
file.
You can upload the file here by clicking this button:
B. Insert as Formatted Code Block
If you are unable to upload files on this forum, you can alternatively paste the formatted bundles. These are the two methods for formatting text so it remains unchanged by the forum:
-
Method 1: Type code block manually
Add three backticks
```
before and after the content/bundle, like this:```
content goes here
``` -
Method 2. Highlight and click the format button in the editor
Providing the input/output bundles will enable others to replicate your scenario's behavior, especially with complex data structures (nested arrays and collections) or when external services are involved. It also helps you map raw property names from collections.
Sharing these details will make it easier for others to assist you.
Hi Samliew, thank you for your very clear and prompt response. I appreciate it.
So, to ensure I'm completely clear on a few points:
- I'm testing this by sending a direct message via Instagram. This triggers a run in ManyChat and in callin.io.
- My Voiceflow agent is functioning well. However, to rule out any issues on my end, I've created a very basic Voiceflow scenario with just a text message and a capture. It still doesn't work. Therefore, I suspect the problem isn't related to my Voiceflow agent's compatibility with ManyChat.
- I am not encountering any errors within callin.io.
- I am seeing errors in my ManyChat logs. They are either 'dynamic block - error completing request' or 'external request processing events - response is null'.
- The scenario in callin.io completes in under 40 seconds.
- Every output bundle is correct. In '18 set variable', the output bundle is still as expected. However, the final one, '19 webhook response', provides the following output bundle: [
nul
]. As you can see in the image I attached in the first post, its input is actually fine. So, I'm finding it puzzling. - I've attached a blueprint and some screenshots to provide more clarity.
Voiceflowmanychat.json (34.8 KB)
Is anyone else experiencing this? It's still unresolved and causing quite a bit of frustration!
It appears to be a configuration problem within ManyChat, as the error message indicates "Variables are not defined".