Now Easy to Expose Flows Outside of Salesforce

I’m back from maternity leave and holy SMOKES (get it? The west coast is on fire): an update to Flow in Summer ’20 totally broke the Unsubscribe Link App. It’s okay, though. It’s fixed now and this Flow improvement is worth it.

baby in salesforce onesie with unicorn emoji blocking his face.
Here’s my little one disguised as a unicorn

It’s now much simpler to expose a Flow to folks who aren’t logged into Salesforce. They can click a link which launches a Flow that modifies, deletes and creates all sorts of records! (Be careful!)

All you have to do now is save your flow as System Context without Sharing–Access All Data. This eliminates the need to give a Site Guest User permission, adjust your sharing settings, and create sharing rules.

So my example is the Unsubscribe Link. You send an email through Salesforce with this link. Your recipient clicks on it and that launches the Flow which will update their contact and lead records with Email Opt Out. It’s pretty sweet.

How to Build your own externally visible Flow

  1. Create a screen Flow. (This is the hard part).
  2. Set up My Domain (it’s probably already set up).
  3. Create a Site domain.
  4. Create a new Site.
  5. Create a Visualforce Page to house the Flow.
  6. Build your link that includes variables for your flow. That looks like:
https://yourSiteDomain/YourVisualforcePageName?flowVariable1={{{MergeField1}}}&FlowVariable2={{{MergeField1}}}

In the Unsubscribe Link app, that looks like this. recordId and Email are two variables in my Flow. Everyone who sets up the app will substitute their site domain for “yourSiteDomain.”

http://yourSiteDomain/Unsubscribe?recordId={{{Recipient.Id}}}&Email={{{Recipient.Email}}}" 

When I put in my site domain and the fields are merged in the email, it looks like this:

https://powerfulsolutions-developer-edition.na139.force.com/Unsubscribe?recordId=0034W000029huR8&Email=georgeBailey@bbbs.com

Read the instructions on the Unsubscribe Link App for details on how to create a Site and Site Domain.

Secure guest user record access in Spring ’20

On March 1, 2020, the official start of Spring ’20 in our world, comes needed security improvements regarding sharing data with external users. However, you can uncheck the Secure guest user record access checkbox and test out these changes until Summer ’20. Phew.  If you’re using any Site Guest Users, and are ready to try out the new settings you’ll need to create new sharing rules. Hint: Salesforce sites are used in Volunteers for Salesforce and frequently in Communities.

cherry blossoms blooming

What’s a Salesforce Site? “Salesforce sites enables you to create public websites and applications that are directly integrated with your Salesforce.com organization—without requiring users to log in with a username and password. You can publicly expose any information stored in your organization through pages that match the look and feel of your company’s brand. Use sites to create public community sites to gather customer feedback, branded login and registration pages for your portals, Web forms for capturing leads, and so on.” — the Site setup page in Salesforce. Continue reading →

A Glorious NPSP Day Seattle

npspday

“Next step in our : The meta-peeps create some organized chaos: What’s unknown in @SalesforceOrg‘s NPSP, at .” Photo &Tweet from @BRCTweets (Barbara Christensen)

Both years I’ve attended NPSP we’ve had incredible weather so the idea of a unhandled sunshine error is not applicable to this magical day.

MOOD of the room: Excited, happy, energized, grateful to be part of this amazing supportive community.

KUDOS: Ryan Ozimek and Katie Fadden are delightful facilitators! Megan and everyone at 501 Commons pulled this off flawlessly the day after Give Big! Congrats to Crystal on the birth of her new baby girl! So much !!!

STRAIGHT TALK: In this segment of the programming, we brought the elephant to the center of the room and talked about the .org acquisition. As a .org employee, I just want to make it clear that the opinions below are those of other folks who attended, some of which I might share, but they by no means reflect any official stance of Salesforce:

  • We want .org or .com to say “IT’S GOING TO BE OKAY. YOU DON’T NEED TO WORRY.”

Continue reading →

Attach Meeting Notes on Events

 

Samantha C. asked in the Power of Us Hub: “Does anyone know if you can track meetings with salesforce? We are looking to track our meetings and add a few bullet points about those meetings so we can look back and see where something left off.” And I was curious how it could be done. Here’s the answer in Lightning. Continue reading →

Formulas Rule! Master Complex Assignment Rules with Formulas

This year at Dreamforce 2018 I had the opportunity to present an advanced admin session with Roan Bear. The Session, Formulas Rule! Master Complex Assignment Rules with Formulas, addressed how admins can use formulas to better manage and optimize assignment rules.

Continue reading →

Keystone Habits

I highly recommend The Power of Habit Why we do what we do in Life and Business by Charles Duhigg to humans, particularly Salesforce administrators and architects.

As mentioned before, at Optimum Energy we have a self improvement book club and we just finished The Power of Habit. The first section of the book is about individual habit formation. The second part is building habits in an organization. Third part is how habits develop and are morally evaluated in society.

While I particularly enjoyed thinking about how to break my own personal bad habits, (Hang on. There are Top Pot Donuts in the kitchen)…. I found myself contemplating how to help users develop the habit of using Salesforce.

Is there one essential task in Salesforce that can serve as a “keystone habit”?  Continue reading →

How to Safely Deactivate Salesforce Admin Users

When an Admin leaves your organization, it’s tricky to safely manage the many steps of that transition. It’s also easy to screw up which can lead to automation failing silently, users encountering errors, integrations breaking or the security of your system being compromised. Here are my recommendations when you’re left flying solo.

Continue reading →