Submitting multiple forms through Slack
Providing feedback after every class is is important but filling out multiple forms with similar information is tedious. The current process creates more friction and leads to rushed answers.
- Python
- Slack Bolt
- Selenium
git clone https://github.com/nbaulib/deloopForm.git
cd deloopFormpython3 -m venv venv
source venv/bin/activatepip install -r requirements.txtNote:
If you have dependency or Pylance issues, make sure your IDE is opened with deloopForm as the root project folder and select the correct interpreter.
Go to https://app.slack.com/ and make a new Slack App using this App Manifest (YAML)
display_information:
name: Deloop
description: Fill multiple forms through Slack
background_color: "#271142"
features:
bot_user:
display_name: Deloop
always_online: false
oauth_config:
scopes:
bot:
- chat:write
- incoming-webhook
- channels:history
- app_mentions:read
pkce_enabled: false
settings:
event_subscriptions:
bot_events:
- app_mention
interactivity:
is_enabled: true
org_deploy_enabled: false
socket_mode_enabled: true
token_rotation_enabled: false
is_mcp_enabled: false
Then invite deloop to the desired channels
SLACK_BOT_TOKEN=xoxb_your_bot_token
SLACK_APP_TOKEN=xapp_your_app_tokenpython bot.py
The bot listens for @deloop and parses the message into multiple form entries.
@Deloop
email@example.com
First LastName
Cool School
today
Intro to 3D Modeling
week 2
Students used the union and subtract tools in TinkerCAD to design a skatepark.
none
none
Intro to Data Science
week 3
Students used seaborn to visualize NFL data.
no issues
no materials
- User mentions the bot in Slack
- The message is parsed into the correct format
- Selenium opens parallel form sessions
- Forms are filled automatically
- Submission progress is posted back into Slack