Skip to main content
Question

Pipelines Slack Channel


I have created a Pipeline between QB and Slack, so that when a Record is Created in QB a message is sent to a Channel in Slack. How do I include a link to the QB Record in the Slack message?

------------------------------
Ashley Harris
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
I don't know much about slack, but assuming that it can accept a hyperlink, then you can make a Formula Rich text field with this syntax.

var text Words = "the words the user would click on";
var text URL = URLRoot() & "db/" & dbid() & "?a=dr&rid=" & [Record ID#];

"<a href=" & $URL & ">" & $Words & "</a>"


------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------

SSNJeffP
Forum|alt.badge.img+11
  • Registered
  • February 28, 2022

You actually don't need to use pipelines for this.  You can use the Webhooks features in QB to send a webhook directly to slack.   

Assuming you already set up an endpoint in slack,  then you just set up a webhook in the table you are triggering from,  configure the message as a JSON and it will send the message directly to slack instantly.  

This method will resolve any formatting issues,  as it will just pass along the raw value (so long as you format your JSON correctly).

Example:





------------------------------
Jeff Peterson
------------------------------