Hi @Suren H
You’ll need to use the Webhooks app in your Zap: https://zapier.com/apps/webhook/integrations
OR
You can try using a Code step: https://zapier.com/apps/code/help
Hey @Suren H just checking in to see how you made out here! Were you able to get things working using some of Troy’s suggestions? Let us know!
Is there really no other way? Having to use a completely custom Code action makes this impractical. All I want is to be able to create buttons in the slack message. Ultimately I want to offer this as a user template, but forcing a user to set up auth in the code block for slack is impractical.
Hi @Jordan Humanloop
Good question.
Perhaps as an alternative to buttons you can use links: https://zapier.com/help/doc/tips-formatting-your-slack-messages#links
URL links are automatically hyperlinked in Slack without additional formatting.
To display link text instead of the URL:
- Type an open angle bracket (<), your URL link, a pipe character (|), your link text, and a closing angle bracket.
<https://zapier.com|Link text>
Depending on your requirements you can look into using the Slack Workflow Builder: https://slack.com/help/articles/360035692513-Guide-to-Workflow-Builder
Otherwise, at this time, Slack buttons in messages require specific JSON structures to render correctly, so those would require use of the Slack Block Kit via the Slack API: https://api.slack.com/reference/block-kit/blocks
Hi,
I want to refresh the topic, because it focused on links and i have a problem with send simple block message to slack with data from Google Sheet.
I want to send simple message with “sections” filled with values from Google Sheet cells:
{
"blocks": k
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "plain_text",
"text": "tVALUE FROM GOOGLE SHEET CELL]",
"emoji": true
}
},
{
"type": "section",
"fields": d
{
"type": "plain_text",
"text": "*"VALUE FROM GOOGLE SHEET CELL]*",
"emoji": true
},
{
"type": "plain_text",
"text": "*"VALUE FROM GOOGLE SHEET CELL]*",
"emoji": true
}
]
}
]
}
How I can do this by Zapier?