Button activates a button in a repeating group for each row

Hello everyone, I have a situation where I made a dashboard that has a repeating group of members. Each row contains a members info and has a button that sends an email to a specific member with their information in the row of the repeating group. I want to know if I can trigger all the buttons for the repeating group to send individual emails from a button outside of the repeating group. This way an admin on my website can email everyone rather than clicking on each individual button on the row of the repeating group.

Hey @ibrahim.waheed812 :wave:

These buttons doesn’t need to be related at all. The buttons inside repeating group will send emails individually. That works fine I guess. And the outer button will send a bulk email in one single action (most possibly) and the to or bcc fields will be populated by the emails of the data source of the repeating group.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

A button can’t “activates” another button.

It’s a workflow question.

For you button on the row, you have a workflow that send an email to one person.
For your general button, you need to have another workflow that send an email for each person of a list.

If the email body is different for each person, you should trigger a backend workflow on a list.

Create your backend workflow, with as entry the datatype “members”.
Set your send email action on this workflow.
On your page, for the general button, schedule API workflow on a list, with your list of members as entry.

For each item of the list, one email will be sent.

Hope it’s helps !

Thank you so much. It works. I now have it so unique emails are sent to unique individuals from a repeating group via click of a button outside the repeating group using a schedule API for a list.

1 Like