slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno
https://api.slack.com/automation
MIT License
155 stars 27 forks source link

[QUERY] Have custom workflow interface with other Slack apps #257

Open benjrich-jasper opened 8 months ago

benjrich-jasper commented 8 months ago

Question Are we to have our custom workflows interface with other installed slack apps? e.g. have a workflow step essentially send a slash command to another app allowing us to trigger a workflow in that app.

Context I've looked around in the docs and haven't found anything. Don't even know where to start to add this to our current app.

Environment N/A

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

misscoded commented 8 months ago

Hi @benjrich-jasper! Currently, I don't believe it's possible for custom workflows to interact directly with existing apps (unless, of course, your workflow sent a message that your existing app listened for and took action after, or something similar. Probably not what you're looking for).

send a slash command to another app / Don't even know where to start to add this to our current app

To be clear, are both apps you're referring to built with the Deno SDK, or is one app (the current one?) built with Bolt (or another SDK)? More information the better; it'll help us understand what support is missing and sought after.

benjrich-jasper commented 8 months ago

Thanks for the quick reply! Our current app is built on the Deno SDK, I'm not sure about the other app, Linear

The Linear app has all the functionality we need for keeping both the slack thread and the linear issue synced up, but not all the pre-processing that we're doing in our internal app built on the Deno SDK

filmaj commented 8 months ago

It's a neat idea, and makes sense to me, especially as a means to 'bridge' the automation platform with the old-school platform. I've raised this internally to solicit ideas / feedback.

benjrich-jasper commented 7 months ago

I just saw the January Admin email, and found a really exciting update! Looks like we can now create workflows in Slack that can connect w/ select services. Are we able to do this via the deno sdk? Or is this only available via the Workflow Builder in Slack?

https://slack.com/help/articles/20155812595219-Slack-connectors-for-Workflow-Builder

filmaj commented 7 months ago

Yes! While still early and in active development, there are essentially a set of pre-built custom functions you can use in your coded workflows for a variety of third party services available. Check out GitHub.com/slackapi/deno-slack-hub for the details.

benjrich-jasper commented 7 months ago

Amazing!!! Thank you! One thing that is still missing, is a way to link a slack thread with a Linear issue. Linear has this implemented in their Slack app, and we've got a custom workflow that's doing this for us, but in a very janky way. We'd love the ability to utilize this feature in the Linear slack app. 🙏

filmaj commented 7 months ago

Noted! I have raised your comment with our connectors team; if there's any development on that end, I'll update this issue.