Starter kit for Python bot for Automa
Please read the Bot Development docs to understand how an Automa bot works and how to develop it.
/automaendpoint is the receiver for the webhook from Automaupdatefunction inapp/update.pyis the logic responsible for updating code.AUTOMA_WEBHOOK_SECRETenvironment variable is available to be set instead of hard-coding it.
Start the app in production mode:
PYTHON_ENV=production uv run fastapi runNeeds git to be installed on production.
Start the app in development mode:
uv run fastapi devRun tests with:
uv run pytest