Send email to list of emails

Hi,

I have an app where a user can send an email to all of his friends, and a copy of the email is sent to the creator.

But the are many emails (the same email many times) arriving to the creator and also many (the same email many times) to the other users. And everytime a creator sends an email to users, the amount of emails arriving is random, one time can be 2 and the other one 5.

Please help me.
Thanks in advance :slightly_smiling_face: :computer:

Impossible to help you if you don’t share more details/screens

The thing is that I am sending the email to a list of users. But instead of sending one email to each user, it sends it many times to the same user. And in my logs, the action is done the same times of the number of users I am sending the email.

For example, if I have to send the email to 5 users (list of users), in my logs, the action is done 5 different times (send email x5).


In Bcc I have the list of emails.

Thanks in advance

what action triggers sending the email? is it scheduled api on the list?

the screen you showed (if triggered once) should send ONE email to “espacio’s Creator’s email” and have BCC as list - so everyone on the list will get a copy of it.

Yes,

First I schedule

And then here is the API backend workflow

And the action of this is send email

Thanks

you shouldn’t use schedule API on the list. Use just normal scheduled API so the action is triggered once

what you are doing now is triggering the Send Email action depending on the number of BCC people (if the list has 5 people - the action will be triggered 5 times and you want to trigger it only once)

so use normal scheduled API and it will work fine

Ohh, thanks @bartek.dev. It worked perfectly.

What is the difference between schedule api workflow on the list and a normal scheduled api? Do you have any examples?

Thanks in advance :grinning: :computer:

On a list does the action for each item in the list one by one

In summary: scheduled API is used for more complex iterations over lists. In your case: if you would want to “personalize” the email content per User you would use Scheduled API on the list. You can’t personalize the email with the use of normal Scheduled API if you have more then 2 users. You should try it

Ohh, okay, thanks. :slightly_smiling_face: :computer:

Nice, didn´t quite undertood 100%, but I will check the video. Thanks :slightly_smiling_face: :computer:

For example, when I want to delete a list of uploaded files I schedule a list with an action to delete a file? But it would do it multiple times because it’s a list?

Thanks in advance :slightly_smiling_face: :computer:

Well yea you can do that, but you also have “Delate list of things”. If, for example, you wanted to first send the file to the creator email and then delated it then you would use API on the list.

Ohh, okay. So basically the difference between scheduling a normal API workflow and an API workflow on a list is that the API workflow on the list will do the same action for all items on the list until it finishes, right?

yes, exactly :slight_smile:

Ohh, perfect. Thanks :grinning: :computer:

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