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.
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.
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 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.
Not sure, just a guess. Just trying to rule out potential issues. Seemed like an easy thing to double check. 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.
@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).