Sep 06, 2024 10:10 AM
Hi there!
I have been trying to get an automation to look at a view in Airtable and list up all the records with their hyperlink in a Slack message every Wednesday.
The outcome would be something like:´
Here's a few entries you can pick from:
I have tried running a code but the list won't show (added images what I got for reference).
Does anyone have any idea how to solve this?
Solved! Go to Solution.
Sep 07, 2024 10:03 PM
Thanks! The issue is with the selection of the variable; yours looks like this:
But it needs to look like this:
And to get that, you'll need to click the blue + icon at the top right and select it!
Sep 06, 2024 07:38 PM - edited Sep 06, 2024 07:38 PM
Hm could you include an image of the Slack automation setup?
If it helps, the following code and automation setup works!
let recordList = ""
recordList += "<https://example.com|Link Text>\n<https://example.com|Link Text>\n"
output.set("test", recordList)
Sep 07, 2024 05:26 AM
Hi !
The automation setup is in the attachement called automation 1. Or do you mean something else?
I have replaced my code with yours and I get the same code run result than with mine so yours definitely looks less complex to reproduce in the future - thanks!
However, the message to Slack still doesn't showcase any actual list...
Sep 07, 2024 06:05 AM
re: The automation setup is in the attachement called automation 1. Or do you mean something else?
Yeap, I'm curious how you've got the action set up and would like to see this bit!
Sep 07, 2024 06:32 AM
Sep 07, 2024 10:03 PM
Thanks! The issue is with the selection of the variable; yours looks like this:
But it needs to look like this:
And to get that, you'll need to click the blue + icon at the top right and select it!
Sep 09, 2024 04:18 AM
Yay, thanks heaps Adam, that worked!