formspree / formspree-cli

MIT License
8 stars 2 forks source link

Does this cli support slack? #3

Open kotarella1110 opened 2 years ago

kotarella1110 commented 2 years ago

Every time I deploy, the slack integration is removed. Is it possible to set up a slack action in formspree.json? I could not figure out how to set it up from the documentation.

https://help.formspree.io/hc/en-us/articles/360053819114-The-Formspree-CLI

rohitdatta commented 2 years ago

Hey @kotarella1110, unfortunately no Slack isn't supported via the CLI due to limitations in the Slack API for non oauth flows.

Are you connecting the Slack plugin via the dashboard and then deploying via CLI and then your Slack plugin gets disconnected?

kotarella1110 commented 2 years ago

@rohitdatta Thanks for your quick reply!

Are you connecting the Slack plugin via the dashboard and then deploying via CLI and then your Slack plugin gets disconnected?

Yes. gets disconnected πŸ‘€

γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2022-06-01 21 09 19

rohitdatta commented 2 years ago

Thanks for pointing this out. This is designed to be a safety feature so that you are explicitly aware that deploying with the CLI will override anything set using the dashboard, as your form configuration is now being managed by formspree.json.

I can see the experience being subpar if you need to connect a plugin that isn't possible with the CLI. Our team will talk it over and see if we can come up with a solution that will allow the Slack plugin to stay connected since it's not possible to run with the CLI.