Does a Slack bot fit on Spark?
Spark can host one small Slack bot in Socket Mode on an eligible runtime. The account includes 256 MB RAM, 25% CPU and 512 MB storage. There is no card to add. Renew the free term every 7 days. The create form shows which profiles can run on the selected plan.
Start with a bot that acts on mentions or slash commands. Measure memory after testing the busiest handler. Count the source, installed packages, local state and any cached downloads against disk. A worker that calls another service still needs its own access to that service.
Get the first workspace reply
- Choose the Node.js or Python Socket Mode profile in Slack bot hosting. Start with an example or bring a Bolt project with its dependency manifest.
- Enable Socket Mode in Slack, install the app in your workspace and save both tokens in Variables. The app-level token opens the socket. The bot token authorizes the workspace actions.
- Start the deployment and invite the app to a test channel. Mention the app and open the thread. The supplied example replies with Your Slack bot is running.
The Slack deployment guide lists the exact scopes, event subscription and variable names. Once the hosted worker responds, you can close your computer.
Keep the bot running between code changes
Find the expiry date in Overview and leave time for the renewal step. When the bot stops responding, check the term and power state. For an active worker, send one known test event and check Console for the corresponding startup or handler error.
The published Spark plan backs up files hourly and retains 24 hours of history. Keep the project in source control and record where the app stores durable workspace state. A Discord crash webhook can notify you if your Slack process stops unexpectedly.