Skip to content

Cloud Functions for Bot development #810

Answered by samtstern
akhromieiev asked this question in Q&A
Discussion options

You must be logged in to vote

@akhromieiev absolutely! I have built many bots using Cloud Functions as webhook handlers including the famous @google-oss-bot (source: https://github.com/firebase/oss-bot)

All best practices about general webhook development still apply. HTTP functions are public so you need to make the incoming request is real (GitHub uses a secret token) before handling it.

Also for developing webhooks locally in the Cloud Functions emulator, check out https://smee.io/ which is a great tool.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
1 reply
@akhromieiev
Comment options

Answer selected by samtstern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants