deno-slack-sdk icon indicating copy to clipboard operation
deno-slack-sdk copied to clipboard

How can I get rid of authentication window before the start of workflow?

Open bhagatpratik07 opened this issue 10 months ago • 4 comments

Question

How can I avoid showing the authentication screen if the user has already connected their account?

Image

bhagatpratik07 avatar Mar 03 '25 08:03 bhagatpratik07

Hi @bhagatpratik07 thanks for writing in 💯

You are correct there is no way to avoid showing the authentication screen before a workflow execution, even if the user is already connected. I believe this is a security precaution as well as a user experience decision, it lets the user know which account account is being used to run a workflow. Some users may have personnel and professional accounts, others may have development level credential and production ones etc

WilliamBergamin avatar Mar 03 '25 18:03 WilliamBergamin

Ah, this screen is very annoying if you are using a workflow regularly. Thank you for your response @WilliamBergamin 🙌🏻

bhagatpratik07 avatar Mar 03 '25 18:03 bhagatpratik07

Hey @WilliamBergamin sorry to bother you again,

  1. Is it possible to add workflow as a message shortcut similar to the one in the image? The behaviour I want: The user clicks on the shortcut "Create an issue" -> Opens up a form with a description form field pre-filled with the message text.

Image

  1. Is it possible to update/edit an original message sent by the workflow? I couldn't find slack "UpdateMessage" or "EditMessage" function in the docs

bhagatpratik07 avatar Mar 04 '25 20:03 bhagatpratik07

Is it possible to add workflow as a message shortcut similar to the one in the image?

As far as I know this is not possible 🤔

Is it possible to update/edit an original message sent by the workflow? I couldn't find slack "UpdateMessage" or "EditMessage" function in the docs

From what I understand you would need to create your own custom function to update a message, you can use chat.update to do this programmatically

WilliamBergamin avatar Mar 05 '25 17:03 WilliamBergamin