Best answer

How to 'push' Slack messages with a link to each message?

  • 24 May 2023
  • 9 replies
  • 162 views

Userlevel 1

Hi there,

 

I manage a non-profit community and we have a free Zapier account.

 

I like to create a weekly round up of the posts in Slack (easier to catch up for those not visiting every day) so I set up a Slack to Google Doc push, so all posts I want to share are in one place and I can copy-paste them into Slack and include a link to that post. 

 

The only thing I haven't figured out is how to include a permalink to the each message in the push because I'm currently copy/pasting them individually and it's time-consuming.

 

At the moment when I click Push to Zapier, I get the following show up in Docs

 

@Member posted "Can anyone recommend a good graphic designer for children's charity?" in #asks

 

And I'd like something along the lines of 

 

@Member posted "Can anyone recommend a good graphic designer for children's charity?" in #asks

 

Or

 

@Member posted "Can anyone recommend a good graphic designer for children's charity?" in #asks

Link: www.slackpermalinktomessage.com

 

Thank you!

icon

Best answer by ken.a 31 May 2023, 08:23

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

9 replies

Userlevel 7
Badge +9

Hey there,  @Tomorrow! Thanks for reaching out in community. 🤗

Great question! I don’t believe you’re able to add it to the pushed message trigger step outside of the copy/paste method. But maybe you could use the permalink in your Google doc action setup!

Do you think that could work? Let us know! 🤗

Userlevel 1

Hey there,  @Tomorrow! Thanks for reaching out in community. 🤗

Great question! I don’t believe you’re able to add it to the pushed message trigger step outside of the copy/paste method. But maybe you could use the permalink in your Google doc action setup!

Do you think that could work? Let us know! 🤗

 

Hi, thanks for your reply. I'm afraid I don't have that option. Only a link to user profile image and team icon. 

Userlevel 7
Badge +6

Hi there @Tomorrow,

I’m jumping in to see if I can help!

Could you please try these troubleshooting steps for me:

  1. Go to your trigger step.
  2. Load in a new sample data by clicking on “Load more”.
    cfe49b409ac6d144db3fd77b6360fcc2.png
    (view larger)
  3. Choose the new sample data.
  4. Go to your action step, and check if the “Message Permalink” data shows up.

Please keep us posted! 😊

Userlevel 1

Hi there @Tomorrow,

I’m jumping in to see if I can help!

Could you please try these troubleshooting steps for me:

  1. Go to your trigger step.
  2. Load in a new sample data by clicking on “Load more”.
    cfe49b409ac6d144db3fd77b6360fcc2.png
    (view larger)
  3. Choose the new sample data.
  4. Go to your action step, and check if the “Message Permalink” data shows up.

Please keep us posted! 😊

 

Hi there, thanks. I created a new sample and message permalink did show up in Action, however, the link is weird.

 

 

And this is what it looks like in Docs

 

 

How do I make it into something that will link back to the message in Slack?

Userlevel 7
Badge +6

Hi @Tomorrow,

Thanks for trying that out.

Could you please let me know what Google Docs action step you’re utilizing? In the mean time, you can try adding an HTML tag to the Google Docs action step. Like so:

<a href="url">map the data here</a>

91bb3ca61a15820db27c51f55ab02cf1.png
(view larger)

Please give that a try, and keep us posted! 😊

Userlevel 1

Hi @Tomorrow,

Thanks for trying that out.

Could you please let me know what Google Docs action step you’re utilizing? In the mean time, you can try adding an HTML tag to the Google Docs action step. Like so:

<a href="url">map the data here</a>

91bb3ca61a15820db27c51f55ab02cf1.png
(view larger)

Please give that a try, and keep us posted! 😊

 

Hi, where do I insert the HTML tag? Like this? (I also tried copy/pasting it exactly as you’ve written, all I get appearing in the Doc is whatever is inside the brackets >    /<

 

I thought it might be easier to share the Zap

https://zapier.com/shared/c5bf1e2890c3f055bee009a3b034ddb5ea22cf26

 

 

Userlevel 7
Badge +6

Hi @Tomorrow,

You want to add the HTML tag in this format:

d7ad77b6637c868841e8708d003dd0de.png
(view larger)

Then it will show up in the Google Docs like this:

fc98fd54ba312f6cce851b380912a53b.png
(view larger)

Hopefully, this helps! 😊

Userlevel 1

Hi @Tomorrow,

You want to add the HTML tag in this format:

d7ad77b6637c868841e8708d003dd0de.png
(view larger)

Then it will show up in the Google Docs like this:

fc98fd54ba312f6cce851b380912a53b.png
(view larger)

Hopefully, this helps! 😊

 

That worked!! Thank you! 😲 a bonus question...is there a way to format it so it’s just a ‘link’ ‘read more’ etc, instead of a whole link?

Userlevel 7
Badge +6

Hi @Tomorrow,

You are most welcome! I’m glad that worked!

If you want the hyperlink to be more neat. I recommend setting up the HTML tag like this:

403d5b7f4abfd3e6c5fafb97b225d9c8.png
(view larger)

Then the link will show up like this:

9bce152b6625e0536d9013d520e6acf3.png
(view larger)

Hopefully, this helps! 😊