![Marika_Vallier Marika_Vallier](https://community.airtable.com/legacyfs/online/avatars/3X/2/1/2135568aeb0f914f038b2551db0bf7c3e1c531bd.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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:
- SW-0001 (hyperlink to record)
- SW-0002 (hyperlink to record)
- SW-003 (hyperlink to record)
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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! 
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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)
![Marika_Vallier Marika_Vallier](https://community.airtable.com/legacyfs/online/avatars/3X/2/1/2135568aeb0f914f038b2551db0bf7c3e1c531bd.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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!
![Marika_Vallier Marika_Vallier](https://community.airtable.com/legacyfs/online/avatars/3X/2/1/2135568aeb0f914f038b2551db0bf7c3e1c531bd.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Sep 07, 2024 06:32 AM
I am not sure exactly which part you meant so please find a GIF attached. 🙂
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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! 
![Marika_Vallier Marika_Vallier](https://community.airtable.com/legacyfs/online/avatars/3X/2/1/2135568aeb0f914f038b2551db0bf7c3e1c531bd.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Sep 09, 2024 04:18 AM
Yay, thanks heaps Adam, that worked!
![](/skins/images/DD0CD7D0ACF200EF4456420D87029A3D/responsive_peak/images/icon_anonymous_message.png)