Auto-Approve (Optional)
The bot can automatically approve elevation requests submitted outside configured business hours, granting a 4-hour approval. The auto-approve schedule is stored in AWS SSM Parameter Store.
If you are not using AWS, the bot logs a warning on startup and continues running without the auto-approve feature. No AWS access is required to run the rest of the bot.
Configure the Schedule
Send any of the following commands as a Webex direct message to the bot, or by mentioning it in a registered space:
| Command | Description |
|---|---|
autoapprove set mon-fri 08:00-17:00 America/Chicago
|
Set business hours and timezone |
autoapprove enable
|
Turn on auto-approve |
autoapprove disable
|
Turn off auto-approve |
autoapprove status
|
Show the current schedule |
autoapprove clear
|
Remove the schedule entirely |
Requests submitted within business hours are posted to Webex for manual approval. Requests submitted outside business hours are automatically approved for 4 hours and a notification card is posted to the space.
Timezone examples: America/New_York, America/Chicago, America/Los_Angeles, Europe/London, Asia/Kolkata
AWS Environment Variables
To use auto-approve, add the following environment variables to your docker run command. See the Environment Variables Reference in Configuration for full details.
-
SSM_SCHEDULE_PARAM— the SSM Parameter Store parameter name (default:/privman-webex-bot/AUTOAPPROVE_SCHEDULE) -
AWS_ACCESS_KEY_ID— required if not using an IAM role or AWS CLI profile -
AWS_SECRET_ACCESS_KEY— paired withAWS_ACCESS_KEY_ID -
AWS_DEFAULT_REGION— the AWS region containing the SSM parameter (for example,us-east-1)