slackapi / deno-slack-sdk

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

[QUERY] How to self-host deno app? #291

Open asura-io opened 4 months ago

asura-io commented 4 months ago

Question

My deno app involves a workflow that communicates with our self-hosted GitLab instance. Therefore, we would like for our deno app to be self-hosted as well.

Looking at the documentation, the only instructions for deployment involve using slack deploy to deploy onto Slack's self-hosted infrastructure. This is not a viable option for us. Is there a way to have my deno workflow self-hosted

filmaj commented 4 months ago

There is no way to self-host apps built with this particular SDK.

We did just announce a beta of custom functions support for workflows using our existing suite of Bolt app frameworks though: https://api.slack.com/automation/functions/custom-bolt

Note that this would only expose custom functions from Bolt apps - workflows using these custom functions would still need to be assembled using the Workflow Builder UI within the Slack client. This is different from implementing workflows in code, which is only supported using deno-slack-sdk at the moment.

asura-io commented 4 months ago

This is a little frustrating, as both Python and Javascript bolt use the old Steps from Apps, which is now deprecated.

So if we want to self-host, we need to use deprecated functionality. Please correct me if I am wrong here.

filmaj commented 4 months ago

The beta I linked to above does not use the deprecated Steps from Apps - it uses custom functions with the new automation workflow builder.