Notification Bot framework v4

Valentin CHAMIOT MAITRAL 40 Reputation points
2023-03-22T08:44:14.2366667+00:00

Hello,
I would like to know if it is possible to add a daily notification engine to my bot made with bot framework v4 (.Net) ?

Thanks in advance !

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
823 questions
0 comments No comments
{count} votes

Accepted answer
  1. YutongTie-MSFT 50,801 Reputation points
    2023-03-27T20:46:36.75+00:00

    Hello @Valentin CHAMIOT MAITRAL

    Thanks for reaching out to us, I think you can leverage Azure Functions service to do so - https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=in-process&pivots=programming-language-csharp

    Here are the steps you can follow, please change it according to your preferences.

    1. Create an Azure Function that will send the daily notifications. You can use the TimerTrigger template for this as above guidance.
    2. Use the Azure Storage account to store the user details and the notification schedules. You can use Azure Table Storage or Cosmos DB for this.
    3. In your bot, create a dialog that will allow users to set their notification preferences. The dialog should ask for the time and message of the notification and store it in the Azure Storage account.
    4. When the Azure Function runs, it should retrieve the notification schedules from the Azure Storage account and send the notifications to the respective users.
    5. You can also provide an option for users to update or delete their notification preferences.

    Hope this helps! Let me know if you have any further questions.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful and vote 'Yes' to support the community, thanks a lot.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.