How to put a Flow in Salesforce1

We all have seen how much love Salesforce1 has gotten ever since its release.  Now that Salesforce got Publisher Actions usable, people expect everything to be available in Salesforce1.  However, sometimes that isn’t exactly the case.  If you just created an awesome Flow, you might be want to know how to make it available for all of your fantastic users of Salesforce1.

So lets take a quick look at the Publisher Actions to see how a Flow might fit inside one.  To do this, lets navigate to our Case Actions (Setup | Customize | Cases | Buttons, Links, and Actions | New Action).

Select New Action

New Action

Great, now lets take a look at the different ‘Action Types’ that we have available to use.  We see we can Create a Record, Send an Email, Log a Call, Go to a Custom Visualforce Page, and Update a Record.  If you’ve already read my blog on embedding a Flow in a Visualforce Page (and not just using a Button URL to launch), then I have a feeling you already know the answer to this!

Select VFP as Action Type

Before we move on, your next step (if you haven’t already) is to go create a Visualforce Page to embed your Flow.  So, if you didn’t read my post yet and you don’t know how to make your Flow accessible in a Visualforce Page, then you need to go study up real quick! After you have embedded the Flow, you need to verify that your Visualforce Page is ‘Available for Salesforce mobile apps’.  Without this, it won’t be able to see your Action Salesforce1.  This might also be a chance for you to double-check that your Security for the Page includes all Profiles that will need to use this Action.

Make Accessible to SF1

We know we want to select “Custom Visualforce” as our option for the ‘Action Type’, and we already have our Visualforce Page mobile ready.  So lets build out this Action!

Select VFP as Action Type

Once you do this, your ‘fields’ to fill out will switch to the ones for Custom Visualforce.  You need to select the Visualforce Page that you want your Action to call.  As you saw in my earlier screenshot, I’ll be looking for a Visualforce Page called “CloseTicket”.

Select the Visualforce Page

Now all that is required is to set the Label, Description (if you have one), and possibly change the Icon.  So lets do that really quick!

Finish your Action

Now, lets hit Save and navigate to our Page Layout to go drag our Action in!

Add to Page layout

Added to Page Layout

Login to your Salesforce1 app and test it out!  Open up a record that has the Page Layout we just updated, and lets look for our Action.

Ticket Page

Now, if we click the “…” or “show more” action, we can actually see the Action’s Label, this lets us know we are clicking the right Action!  Test it out and make sure it is working to your liking!  Sometimes the UI isn’t as pretty, as you’d like, but its a quick way to get that Flow onto your Salesforce1.

Select ActionRECAP:  Flow in Salesforce1 is actually quite straight forward if you already have a Visualforce Page built for your Flow.  You just need to make sure your Visualforce Page has mobile enabled and is available to the Profile of the users that will use it.  After you add the Action you created, all you need to do is drag it to your Page Layout(s) and enjoy your hard work with a nice Chai Latte (or your choice of poison).

4 thoughts on “How to put a Flow in Salesforce1

  1. Julianne June 21, 2016 / 7:30 pm

    Any tips on how to set a mobile friendly FinishLocation?


  2. Markus February 16, 2017 / 1:26 pm

    With the lastest Releases it’s even more simple to embed a Flow. Just create your own Lightning-App and embed the flow on the Site.


    • David Litton February 16, 2017 / 5:26 pm

      Yep! I’ll be adding a new post – or updating this in the near future. Thanks for the reminder 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s