Why Does the Build and Send Block Kit in Slack Require a URL and Can it be Avoided?

This topic was automatically generated from Slack. You can find the original thread here.

I’m struggling with the Build and Send Block kit in Slack… The blocks seem to require a URL and I’m not sure why… is that something that can be gotten around or should that be a webhook to a subsequent workflow?

(I’m trying to create a link button)

Is there a way to just do a button instead of a link button?

Hi , could you share a screenshot of your current settings?

Oh if you can’t do it directly in the action, you might just need to define your blocks array in a code step, then reference that output in the Slack step

Okay that worked!

I’ve now created a button that doesn’t do anything as far as I can tell…

Pi is asking me to set up the slackbot to use a Request URL that posts to the webhook trigger of my next workflow… but nothing’s triggering… is that the right way to set it up?

Are you sending the message using Pipedream’s auth, or a custom bot token? And are you using your own webhook URL, or the built-in Slack interactions trigger?

I think using pipedream’s auth:

i tried using the slack step New Interaction Events but couldn’t get that to work and now I’ve tried to configure the slack message button to send a webhook

The message sending and interaction webhook must use the same auth for Slack. So if you’re configuring a custom webhook, then you need to send the message from your own Slack app. If you’re sending the message with Pipedream’s auth, then you need to use Pipedream’s trigger.

i’m not trying to configure a “custom” webhook, I’m just using whatever pipedream suggests

I believe I"m currently using pipedream’s trigger… am I not?

and now I’ve tried to configure the slack message button to send a webhook
That sounds like a custom webhook, right?

well pi has me going into to configure a slack bot to send it through the Results URL

Yea, it sounds like we should ignore Pi for right now

ah

let’s ignore Pi then… what can I give you to point me in the right direction here?

Can you check my above messages re: sending the message and catching the interaction? You either need to use your own bot token and webhook OR use Pipedream’s auth for both the sending of the message and receiving the interaction event.

Yes, will do so in just a few minutes