Forum Academy Marketplace Showcase Pricing Features

Sending recurring email via sendgrid

hi bubblers,

I am trying to set up a system where two weeks before a user’s birthday, they are sent a happy birthday email.

I have already integrated Sendgrid via the popular copilot plug-in, so, I know emails are working.

Right now, my issue seems to be, that the backend workflow set up does not send the User’s email address to Sendgrid, so, the email message is not sent from Sendgrid servers.

I have my backend workflow set up as follows:

and the action workflow (when signing up user) as follows:

Did I miss something? I think it may have something to do with the User thing, but, I can’t seem to get it to work.

Sendgrid showing email was received by Sendgrid but not sent forward to user:

image

Thanks!!!
Andrew

Hey @parkito :wave:

It might be because of your privacy rules. To check, you can check this box and see if it works. Then, if that is the case, you can go to the privacy tab and adjust the privacy settings to work for what you need.

Hope that works. :blush:

@j805 www.NoCodeMinute.com

For All Your No-Code Education Needs:

  • One-on-One Tutoring
  • eLearning Hub
  • Video Tutorials

Hi @J805 ,

Unfortunately this did not work either.

I think it may have something to do with the information send to Sendgrid. The Scheduler shows the event and Step 1 - Make Changes to User seems to work fine.

I’ll try to mess around and figure it out. Thanks

So,
I think there is an issue with the Copilot Sendgrid app here.

I tried using the dedicated built in Send Email function on Bubble, and the recurring workflow / email sent without any issues.

I have submitted a support request to @copilot to see if they can get this fixed.

Thanks!

It may be a privacy issue when he’s actually scheduling the recurring workflow?

I thought this may be the case too after receiving @J805 's initial feedback, however, given it is being set up under an Admin user (with permissions to all data), I do not think this is the case. Also, the other steps in the workflow don’t have any issues including sending an immediate welcome email via the same Sendgrid plugin.

I’m stumped!

Not sure, just a guess. Just trying to rule out potential issues. :blush: Seemed like an easy thing to double check. :man_shrugging:t2: Ever since Bubble had that short time of automatically adding privacy rules, there were a lot of users having that issue.

You can try checking the logs to see if they can be helpful to you. If they are not, sometimes what I do is create a new data type called ‘devLog’. At certain places in my workflows, I will create a new devLog and put some of the elements that I am passing along in the devLog. Then I can just check the database to see if it is getting the data that I am expecting it to get. That helps a lot when trying to troubleshoot more difficult issues.

Hope that makes sense. :blush:

Yeah, checking the logs is a good idea. If you see no email getting passed through it’s not a CoPilot thing, rather a Bubble thing.

@johnny @J805 appreciate the help! I’ve reached out to CoPilot to see if there is something that is missing. The logs show the email is being passed and Sendgrid shows the email send notification is received. However, the recipient information (email address) does not seem to pass through from Bubble->Sendgrid. Odd because I haven’t had any issues with the plugin previously when it’s not part of a recurring workflow + the other action in the same recurring workflow is working without any issues (all Bubble database side though).

1 Like