Skip to main content

Posts

Showing posts from July, 2021

Add an image to a login flow

Login flows allow you to run automation or display  messages after a user successfully logs in to Salesforce. In this post, I'll show you how to add an image to a login flow in Salesforce using a URL in a screen flow. For this setup you'll need: Login flow Custom label HTML/CSS knowledge Let's get started. Create a custom label Go to Setup > Custom Labels Click New Enter a name for the label eg LoginFlow Image Enter LoginFlow as the category Enter the following HTML snippet then click Save   <img src="URL OF THE FILE TO DISPLAY alt=“file description”> Pro Tips Using a custom label allows for the image to be updated without changing the flow logic. Add CSS to style the image and any text you want to display. Create a screen flow Go to Setup In setup search enter flow Select Flows Click New > Screen flow Drag a screen element on to the canvas  Enter a name and description for the screen Add a text output component In the formula editor select flow > label