Skip to content

bigfunctions > send_slack_message

send_slack_messageΒΆ

Signature

send_slack_message(message, webhook_url)

Description

Sends message to a slack channel.

To get the webhook_url for a channel, follow this doc from Slack.

Examples

select bigfunctions.eu.send_slack_message("Hello πŸ‘‹ from bigfunctions!", "YOUR_WEBHOOK_URL")
select bigfunctions.us.send_slack_message("Hello πŸ‘‹ from bigfunctions!", "YOUR_WEBHOOK_URL")
select bigfunctions.europe_west1.send_slack_message("Hello πŸ‘‹ from bigfunctions!", "YOUR_WEBHOOK_URL")
+----------+
| response |
+----------+
| ok       |
+----------+