How do are y’all bubble devs currently setting up workflows for unsubscribe to alert and notification emails?

If a User has a data field that said “Alert email – yes/no” and when an unsubscribe button was clicked in an email, it would do something to tell the bubble app to change that data field for the user from a “Yes” to a “No”… any tips on how to do that?

Using Loops.so for email with direct API, not the plugin. But if you know of ways you’ve accomplished something like this with another email sender (sendgrid, mailgun, etc.) how’d you do it?

Hey @bryce,

You’d use webhoooks for this.

I forget if Loops has a webhook for unsubscribes — I just asked them and will let you know what they say.

EDIT: Looks like Loops doesn’t support that now but plans to

But for other services like Postmark, there’s a webhook that you can trigger which passes an important response that will let you know the email unsubscribed.

The webhook in Postmark will point to a public backend workflow which would handle that

@johnny thanks as always for offering help!

Do you think if the unsubscribe button in an email was clicked, I could hack together a way to add an unsubscribe id that when unsubscribe button in an email is clicked would open a window for a page on the app (call it “unsubscribe_page”) with a URL parameter of the unsubscribe ID & User ID and if the app detects that it will run a workflow to change the yes/no field for that User?

Create the unsubscribe ID and link it to a User for whenever the unsubscribe button in an email is clicked in the future and all the other supporting stuff to make it work.

Similar to how Joe from No Code Academy did User Invite feature in this video: https://youtu.be/5O06Ip2Zt1M?feature=shared

Yep! You could do that too, but keep in mind the list unsubscribe headers in the email to maintain compliance

can you please elaborate to make sure I understand what you mean?
@johnny

@bryce,

Check out these resources:

This is Postmark-specific:

This is an article to compliance for bulk sending: Your 2024 guide to Google and Yahoo’s new requirements for email senders | Postmark

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