Slack Webhook - Approving and Waiting Simultaneously

Hello!

I’m trying to create a workflow that scrapes articles and generates post ideas for my company’s social media.

I’m stuck here:
I want the workflow to send a message to a slack channel, and that channel should contain an APPROVE button that resumes the workflow.

However, creating a webhook with WAIT doesn’t seem like the right solution, as I can’t insert the WAIT webhook URL into the slack message thats already been sent.

The end result I’m trying to achieve is:

  1. Create ppost content with AI
  2. Send post content to Slack for confirmation
  3. Let user Approve to continue workflow and automatic posting

I’m probably completely missing something obvious, but I tried getting help from Chatgpt but it just lies to me and makes things up that don’t make any sense. I’ve also read the documentation but I’m new to this stuff.

Thanks!

You can get the “resume” callback URL at any time during the workflow with expression {{ $execution.resumeUrl }}, so you actually could grab it in an earlier step and send it with the APPROVE message before reaching the Wait node. The Wait node editor even has a note about this.

It looks like you are already doing that, here.

What part isn’t working?

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.