Send email to list of users based on role

I was trying to set a formula to send an email to all the users that are set as Managers once a new user registers.

Here is what I’ve done but it’s not working.

What am I missing?
Thanks
Tiziano

Hi @tiziano I preferr do this action with others ways. I ll show you:

    1. In Backend, you must configure an api workflow to run this action in a list of things. Configure de params with = user/ type= list of users.
    1. Configure the action " Schedule api workflow on a list " for run this.

Like that:

After, configure the action:
Captura de tela 2024-10-09 115446

    1. In frontend, use a custom event on page “join” ( The page s uses for sign or signup the user ) for after users take your credentials and defines roles in the app, search by these users and schedule this list in backend. I hope s helped you

hello,
thank you for your message.
I set it up as you said, but I’m not about the last point. I set up the Schedule API workflow on a list, but it still doesn’t work.

Can you help me to understand what I’ve done wrong?
Thanks

Hi! @tiziano Replace “This user” by the search making above for send this list as parameter.

@tiziano , could you please show me the work you’ve done on the backend? The frontend looks fine to me.

I’m sorry I don’t think I understand what you’re saying.

Hello,
this is what i did in the backend


Please check Ignore privacy rules when running the workflow.

It still doesn’t work. Am I missing something in how to set up the users database?


Try to copy my Privacy setup on the User Data Type.

1 Like

Yes that’s it.
I forgot to check the privacy.
Thank you so much to both for your help

1 Like