Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whatsapp bot to notify people using Trello API #4

Open
aldrinjenson opened this issue May 29, 2023 · 0 comments
Open

Whatsapp bot to notify people using Trello API #4

aldrinjenson opened this issue May 29, 2023 · 0 comments

Comments

@aldrinjenson
Copy link
Member

aldrinjenson commented May 29, 2023

Whatsapp bot to notify members when they are tagged in Trello

Project Abstract

Trello is a project management tool. Once you are added to a trello card, an email will be sent to you by Trello; but often times people may forget to check mails or even the notifications from Trello app(if installed that is). What if we could use the Trello API to create a Whatsapp bot which can notify the user on Whatsapp whenever they are tagged in a Trello card✨

Possible steps(No need to follow exactly this)

  • We could use Trello Webhooks (custom functions we write that will be called when an action we specify takes place - eg: adding a user to a card ) to achieve this
  • create a function (either serverless based or normal backend api route) which listens for requests from trello webhooks
  • Once the function is triggerred, find the user who is newly added and then get their number. You can either get this from a json object/csv sheet or you can even assume that the mobile numbers would be present in the description of user's object from trello(choose whichever option that you think would be most feasible and practical).
  • once the user's number has been identified, using the whatsapp business api, trigger the bot to send a template message to the user: eg: "Ahoy name!, Congragulations you have been chosen to be added to a new card titled: "adipoli card title". The card is set to expire on "deadlinedate". Your destiny awaits! All the best 🤗"

Tech Stacks

  • Preferrably nodeJs
  • Whatsapp Business API
  • Trello API

Social Impact

  • This could be useful to a lot of large teams using Trello for project mangement
  • Would be nice project to mention in your resume when you may join some startup in future✨

Additional info

  • Feel free to use your creativity to see how you could improve upon the idea and make it more customisable or feature rich.
  • (Optional) see if you can maybe extend this bot for applications other than Trello. eg: maybe we could use a similar webhook event from github to dm folks via whatsapp if they have been mentioned in any organization's repo/issue thread. Just need a mapping of github usernames and phone-numbers.
  • Please store all API keys in separate env file which is in .gitignore

Have fun:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant