Back to All

Getting user data?

Hello,

I'm having a website which contains news about a certain football team. When my news writers decide there is a certain news topic that is consider to be "breaking news", they can click a button which triggers a mail newsletter and a push notification.

My website also has a rather large Facebook group linked to it. I would like to extend the mail and push notifications with a Messenger chatbot which will supply the breaking news to people who have subscribed to receive it. The subscription process through the chatbot has been more or less built. I am now wonder how I can trigger a broadcast, with data from my website, to all subscribed users.

The most convenient way would be sending the news topic from my website to the chatbot to target a certain group of users (I serve content in 5 languages and I should divide my subscribed users into categories per language). How can this be done?

E.g. 50 users have subscribed through my chatbot to receive a message on breaking news. Of those 50 users, 6 of them subscribed for English news content.
A news writer clicks a button in my website's back office triggering the sending of breaking news, but only to the English subscribers. How can I make sure I target only these 6 users from my example? Do I need to store all user data in my own database with the correct categories (on subscribe) or is there a way to just trigger an entire group of users from an API?