Hello, I'm setting up a workflow connecting Manychat to Cody(getcody.ai).
My chat input from Manychat arrives via a custom field named “Cody>Question”.
The problem I'm encountering is when there's a new line (or multiple new lines) in the input message, I get an error in the Send Message(Cody) module.
Input: “Cody > Question”: “HinC”
I'd like to modify the input before it reaches the Send Message(Cody) module.
My initial thought was to simply replace 'n' with a space ' ', which I believe would resolve my issue. How can I achieve this, or is there a more effective solution?
Welcome to the callin.io community!
To allow others to assist you with your scenario, please provide the following:
1. Relevant Screenshots
Please share screenshots of the HTTP module fields? It would really help other community members to see what you’re looking at.
You can upload images here using the Upload icon in the text editor:
2. Scenario Blueprint
Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
3. Output Bundles of Modules
Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
A. Upload as Text File
Save each bundle contents in your text editor as a bundle.txt
file, and upload it here into this discussion thread.
B. Insert as Formatted Code Block
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified 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 allow others to replicate what is going on in the scenario even if they do not use the external service.
Following these steps will allow others to assist you here. Thanks!