# Send recurring emails to a list of users - stuck

**URL:** <https://forum.bubble.io/t/send-recurring-emails-to-a-list-of-users-stuck/241602>\
**Category:** Need help\
**Created:** [January 15, 2023, 10:35am UTC](https://forum.bubble.io/t/send-recurring-emails-to-a-list-of-users-stuck/241602 "2023-01-15T10:35:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejandro2](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@alejandro2](https://forum.bubble.io/u/alejandro2)\
**Post date:** [January 15, 2023, 10:35am UTC](https://forum.bubble.io/t/send-recurring-emails-to-a-list-of-users-stuck/241602/1 "2023-01-15T10:35:13Z")

</div>

Hi there, i am stuck.

I want users to set up how many notifications per week they want to receive (anywhere from once a week to daily) and then every day trigger a backend workflow automatically that will send out these emails.

I am a bit stuck. Scheduling a workflow on a list of things would do, but I do not want to schedule the workflow from the frontend but rather have the workflow run once a day automatically. Help is appreciated. Thanks.

In case it matters, I am on the professional plan.

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [January 15, 2023, 4:31pm UTC](https://forum.bubble.io/t/send-recurring-emails-to-a-list-of-users-stuck/241602/2 "2023-01-15T16:31:16Z")

</div>

There are recurring backend workflows you could use, but they are not going to allow you to dynamically set the interval in which the user has chosen to receive the emails.

Instead you could do a recursive backend workflow on your list of users and put a conditional onto the send email action to determine if the users selected interval determines they should receive the email or not.

Alternatively you could setup a set of recurring backend workflows (one for each interval choice your users can select from) and then just trigger the appropriate one based on the choice.

---

<div class="post-metadata">

**Author:** ![alejandro2](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@alejandro2](https://forum.bubble.io/u/alejandro2)\
**Post date:** [January 28, 2023, 2:49pm UTC](https://forum.bubble.io/t/send-recurring-emails-to-a-list-of-users-stuck/241602/3 "2023-01-28T14:49:12Z")

</div>

hi @boston85719 thanks a lot for the hint.

I thought it may help others to learn how I solved the issue in general.

I created a backend API workflow (let’s call it workflow A) that in turn, all it does is schedule a workflow on a list of things on the current date and time (Workflow B) .

This way bubble exposes an endpoint on workflow A - and then I used [https://console.cron-job.org/](https://console.cron-job.org/) to schedule a cron job at the desired interval, which generates a post request to the endpoint of workflow A.

Of course, for more security, it is recommendable to use a token.

This way, I trigger the workflow from outside bubble and i avoid creating any frontend for this process.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 26, 2023, 10:35am UTC](https://forum.bubble.io/t/send-recurring-emails-to-a-list-of-users-stuck/241602/4 "2023-03-26T10:35:31Z")

</div>

Closed on March 26, 2023, 10:35am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
