After the Summer ’25 release, record ids passed from the Unsubscribe Link to the flow are sometimes not being passed to the flow which causes tons of errors. I am so sorry about this!
I do not understand exactly what change has caused this error to happen.
Here’s a quick and dirty fix for this until we finish getting a managed package version created.
This change was enforced in the Summer 25 release to the Send Email Action inside flow and it broke the Unsubscribe Link app.
When the running flow user is the guest user, the Sender Email Address must be set to a verified organization-wide email. Emails sent from the guest user and not using a verified organization-wide email are blocked.
A guest user is someone not logged into your Salesforce instance, but they got a link to a flow and are running it from the URL. If the flow sends an email using the old default of running user, the flow now breaks. This may not impact you, but if it does, I’m sorry.
This isn’t the only thing broken about the Unsubscribe Link after the Summer release….
A bunch of friendly Salesforce users, community members, staff and partners are getting together virtually to help make Salesforce even better for nonprofits and educational institutions at the Virtual Commons Community Sprint on September 26 and 27th.
And my Unsubscribe Link App will be a part of it! This app allows you to send emails from Salesforce that your recipients can unsubscribe from — without purchasing a fancy tool or doing any integration.
The app will soon be listed as part of the Salesforce.org Commons on the AppExchange making it no longer my app but a community supported app. Be a part of it!
Are you interested in giving your email recipients the option to unsubscribe from all email that you send out through Salesforce? Please test out the latest version of the Unsubscribe App.
As of February 2024, Google wants bulk senders to allow users to unsubscribe with only one click! That means no more page that says “Are you sure you want to unsubscribe?” You can read more here about how your company organization can get marked as spam if you do not follow this requirement!
If you have already installed the Unsubscribe Link app, I will walk you through how you can update it to meet this requirement. It’s actually easy, I promise. It’s an unmanaged package so I am not able to push changes to you.
Here’s how to update your Unsubscribe Link App:
Go to Setup.
Search for Flows.
Open the flow called Unsubscribe Link.
Click on the blue element Screen: Are you sure
Click the trashcan icon that pops up.
Click on the white dot on the element Decision: Was a record found and drag that to the element Create Records: Create Unsubscribe Record. The text “Yes, Record Found” should pop up.
Click Save As in the top right corner.
In your description you could add that this version includes one-click unsubscribe. Save.
Activate in the top right.
New or having trouble?
If you have not yet installed it, I am currently having trouble modifying the existing app to get it working package because of change in permissions for site guest users for flow. I am trying to install in a dev org and failing to get it work for a site guest user. I am working on a new solution that is based on an Experience Site instead of a Site and that changes how flows are run for users.
If you have an insight on why it is not working currently, contact me via the group below.
Join the Unsubscribe Link Support Group in Trailblazer Community
Ask all your questions and give feedback here. FYI, this project is something I am doing on the side and is not part of my job. If you are interested in helping me maintain and upgrade the app, I would love that! If you have successfully installed the app, you could join the group to answer other people’s questions. Thank you so much!
Thank you
A huge thank you to Brian King who alerted me to this requirement from Google! I am very grateful!
Flow improved so much in 2020 (yes! a good thing actually happened in this Great-Pacific-Garbage-Patch of a year) that I was able to take out much of the complication of setting up this app.
And thanks to RAD Women Code courses 1 & 2, I was able to add a Visualforce controller and Apex Tests! I am so grateful to my incredible coaches and cohorts.
What matters for you is that it is much easier to install. It’s still not easy to install but hey, it’s 2021. You can handle what life throws at you.
In my Unsubscribe Link app, (yes, that again) the Flow sends out an email from the user running the Flow, which in that case is a Site Guest User. And the email comes from “[Insert Company Name] Site Guest User” which is weird and confusing. I’ve finally googled to learn the secrets of some fields in the Flow “Send Email” Action. And it’s pretty basic and very much a “why didn’t I google this before” moment.
In Flow’s “Send Email” Action, plug in an organization wide email addresses into “Sender Address” and type “OrgWideEmailAddress” in as Sender Type and bob’s your uncle. Want more of an explanation? Keep reading!
JULY 30, 2021 UPDATE: This version is now outdated! Please go here for the latest.
Unsubscribe Link 2.2 (OUTDATED)
Allow Recipients to Unsubscribe From All Email Sent via Salesforce
When the recipient clicks to unsubscribe, a flow will look for all contacts and leads who have this email in the Email field and mark them “Email Opt Out.” The email address owner will receive one confirmation email immediately. A custom object tracks when someone unsubscribes to allow you to report on it.
See How It Works
UPDATE: 1/28/21 I realized how to send the confirmation email from someone other than “Site Guest User.” More in this post.
This is the third iteration of my app to allow all users to opt out of email sent through Salesforce.
Last week I posted an add-on to the existing app to improve it. Here I have a totally new version with all the bells and whistles.
Could you please install it and test it for me? It should take about 10-15 minutes. After collecting enough feedback, I’ll submit this version to the AppExchange for security review.