Generate and send one-time passwords from Slack
BotsArtificial IntelligenceSales EnablementRecipe ToolsDeveloper ToolMarketing
What it does
When someone runs the get one-time password command in Slack, this automation generates a secure code and posts it to the channel. The one-time password is ready to use immediately.
Who it's for
Security teams who need to issue one-time passwords from Slack without leaving the conversation.
How teams use this
Issue passwords from Slack without tools
Someone runs the get one-time password command and receives a secure code in the channel right away. No need to switch to a separate authentication app or portal.
Verify identity during support tickets
Customer support teams use this automation to send one-time passwords directly in Slack when someone needs to verify their identity. The flow stays the same and only the use case changes.
Add expiration time to passwords
Modify the JavaScript code to set an expiration window so the one-time password is only valid for a limited time. The command and response format stay the same.
How it works
- Run the get password command. Type the get one-time password command in a Slack channel or direct message to request a secure code for authentication.
- Generate the password code. Execute JavaScript code in Js Eval to generate a one-time password that someone can use for verification or authentication purposes.
- Post the password to Slack. Reply in the same Slack conversation with the generated one-time password so the person who requested it can see the code immediately.