I’m trying to create a scenario that sends a Slack message whenever a new record is created on Airtable. The Slack module works fine on its own, but when I run the complete scenario, the message doesn’t get sent to Slack along with the specific record.
The module displays an error: “IML error - Function ‘getBlocksData’ finished with error! JSON for blocks is invalid.”
Could anyone guide me on how to resolve this issue? Thank you very much!
Welcome to the Make community!
Click on the “Block Kit Builder” link below the field to assist you in generating the JSON format you need for the Blocks field. You cannot use a plain text string here – it needs to be a very specific format.
An example of a Slack block is a Rich Text block.
The most basic JSON structure looks something like this
{
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "Hello there, I am a basic rich text block!"
}
]
}
]
}
2 Likes