
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 29, 2021 01:42 PM
My use-case is that I want to send a slack message when a record is created.
The reason I am not using the built-in Slack Message automation is that I want to customize the Slack Message using Attachments and Blocks features.
I am wondering what is the best practice to get your SLACK_TOKEN from the Script itself.
Is there a built-in variable that holds it?
Should I use input variable or should I just assign the token to a variable? how safe it is?
Thanks in advance!
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 29, 2021 03:21 PM
This is a legacy method so while it might not suit your needs long-term, you can fulfill your current requirement in what are literal minutes:
Edit: oh, and no code involved, here’s the first example from my mess of a private dashboard that I dug up (notice the token being saved to a “token” field just above the middle of the command batch):

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 29, 2021 03:21 PM
This is a legacy method so while it might not suit your needs long-term, you can fulfill your current requirement in what are literal minutes:
Edit: oh, and no code involved, here’s the first example from my mess of a private dashboard that I dug up (notice the token being saved to a “token” field just above the middle of the command batch):
