Describe the problem/error/question
I’m struggling to correctly assemble dynamic payload for blocks.
I think my code node does it well but output is considered to be 3 rows by n8n, wrapping it causes issues with calling it.
Using stringily helped me solved slack JSON issues but displayed post is incorrect.
What is the error message (if any)?
various
Please share your workflow
example output from code node that is considered 3 rows
[
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "There are *2* events today."
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ">*<https://www.google.com/calendar/eventxx|Noah AL>* \n>`Wed Mar 27 2024` - `Wed Mar 27 2024`"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ">*<https://www.google.com/calendar/eventxx|Sending FL24 agreements>* \n>`Wed Mar 27 2024` - `Wed Mar 27 2024`"
}
}
]
It loads correctly in the builder
Information on your n8n setup
- n8n version: 1.33.1
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- Operating system: n8n cloud