Replies: 2 comments 3 replies
-
@arijoury Are you looking to use the logic in this script to automate all the conversations you receive in your self-hosted instance? Which channels/inboxes are your using? |
Beta Was this translation helpful? Give feedback.
1 reply
-
You will have to configure the script as a cloud function or a separate deployment. Then use the Webhook integration to subscribe to the conversation events in the inbox. Based on the events, you can respond to Chatwoot server using the APIs ref: https://github.com/chatwoot/google-cloud-functions-demo |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I would like to know if it’s possible to add custom scripts to a Heroku deployment of Chatwoot.
I'm working with a self-hosted version of Chatwoot which we deployed to Heroku a few months ago. It integrates with our Telegram Bot. We’re really happy with the product but we’d like to automate a substantial part of the conversations now. We don't need any AI/NLP solutions; I have written a Python script that takes care of getting the right information from our users. It's appended here as a txt file since GitHub doesn't like .py extensions. (The name of the script is terrible because it was thought for a prototype at first).
The script works in a regular Telegram bot. However, I don’t know how to add this script to our existing deployment with Heroku. I am able to deploy a different Telegram bot with the script to Heroku without the Chatwoot integration, but I don’t know how to add the script to our original bot which uses Chatwoot.
I realize that this might not be a trivial question to answer. Nevertheless I hope you can help us out there!
lgbtukraineshitbot.txt
Beta Was this translation helpful? Give feedback.
All reactions