Repository navigation
FAQ & Troubleshooting
Jose Carlos De Oliveira edited this page Aug 12, 2026
·
4 revisions
Welcome to the UnsubscribeLink FAQ! If you can't find the answer you're looking for, please feel free to open an issue
What is Unsubscribe Link?
Formerly a Salesforce Labs app, Unsubscribe Link is a community-driven solution designed to include an Opt-Out link in emails sent from Salesforce.
Who maintains this project?
This project is maintained by the SFDO (Salesforce.org) Community. We welcome contributions from developers and admins alike!
How do I install the package in my Salesforce org?
You can install the package using the [deployment links provided](https://github.com/SFDO-Community/UnsubscribeLink/wiki#installation) from the homepage wiki
Do I need any special permissions to configure this?
Yes, you will need System Administrator permissions to assign the necessary permission sets and configure the application.
The unsubscribe link is generating an error. What should I check?
First, ensure that your Site Guest User has the correct permissions assigned. You can verify this by going to:
Setup > Sites > [Your Site] > Public Access Settings
Make sure they have read/write access to the necessary fields.
Why is there a blank space where the unsubscribe link should be in my email?
If the recipient email shows no unsubscribe link, the incorrect merge field may have been used. Please ensure you are using the object-specific merge field:
-
For Contacts:
{{{Recipient.UnsubscribeLnk__Unsubscribe_Link_Contact__c}}} -
For Leads:
{{{Recipient.UnsubscribeLnk__Unsubscribe_Link_Lead__c}}}
Why does the email show a full URL that doesn't actually unsubscribe the recipient?
If the recipient email shows a full URL that links to the Unsubscribe Link Quick page, the incorrect merge field was likely used.
Using the 'Part1 Unsubscribe Link' merge field (
{{{Recipient.UnsubscribeLnk__Part1_Unsubscribe_Link__c}}}) will be unsuccessful at actually unsubscribing the recipient, even though it may appear successful to them when clicked. Always use the designated Contact or Lead merge fields mentioned above.
What happens if more than one record matches the unsubscribed email address?
If multiple emails match the unsubscribed address, ALL matching records will be unsubscribed after the link is clicked.
Important notes to keep in mind:
- Point-in-time update: This action only affects existing records. If a new Contact or Lead is created after the unsubscribe event, it will not default to unsubscribed.
- Unsubscribe records: Currently, only the triggering record will get a related Unsubscribe record.
The Unsubscribe links lands on a page with "Invalid Page" message.
- Check the Experience Cloud Site was created in Aura framework instead of Lightning (Aura adds an /s/ to the URL which is used in the link)
- Check there is page in your site with the url "/unsubscribe".
The Unsubscribe links always opens the page "Enter your email to unsubscribe."
- Check the flow embedded in the Experience Site page has the input variable varRecId populated with {!varRecId} as this is what passes the URL query parameter into the flow to find the correct Contact/Lead
- Check Test record has Public Id (Public_Id__c) populated.
- Check your org is not using Person Accounts, if enabled, then change the Public_Id__c value with the Id from the Unsubscribe Link **without the C at the beginning** eg. from "https://outlookcomnonprofitcloud-dev-ed.develop.my.site.com/Unsubscribe/s/unsubscribe?varRecId=C4b3bf932-8b90-438f-bfb2-6ea53e535454" take "4b3bf932-8b90-438f-bfb2-6ea53e535454" to populate Public_Id__c as Person Accounts Org takes the Account Id instead of the Contact Id
How can I contribute to this project?
We love contributions! Please check out our Contributing Guidelines to get started. You can help by submitting bug reports, feature requests, or pull requests.