How to Make HTTP Callout (GET) from Salesforce Flow to Display Contact’s Current Time

Display Contact’s Current Time Based on City & Country

Traditionally, integrating external services or APIs with Salesforce required custom code development. However, new features and functionalities introduced in the last couple of releases have revolutionized this process and now makes it possible to call APIs declaratively. This, in turn, empowers admins and consultants to integrate Salesforce with external applications without having to rely on a developer.

In this blog post, we will show you how to use the “HTTP Callout” feature of Salesforce Flow to make an API call to an external system, get the information and display it on the record page.

To learn how to do this we will take a simple but useful business use case. We will make an API call to one of the service providers to get Contact’s current time based on their mailing city and country.

In today’s interconnected world, businesses serve clients and customers worldwide. Sales reps and service agents often engage with customers across different time zones. By displaying the contact’s current time on their record, reps can make considerate communication decisions, avoiding untimely interruptions.

Our journey will be guided by an actionable step-by-step approach, simplifying the entire process and won’t take more than 30-40 minutes to complete:

  1. Configure External Credentials: We’ll explore setting up Named & External Credentials and Permission Sets in Salesforce, allowing secure access to external systems.
  2. Making the HTTP Callout: Uncover the magic of Salesforce Flows as we utilize the GET method for making HTTP callouts.
  3. API Call for Current Time: Witness the moment when we make an API call to retrieve the current time based on the contact’s mailing city and country.
  4. Displaying Timezone Information: Finally, we’ll demonstrate how to elegantly display the current time, date, and timezone information on the contact’s record.

But this is just scratching the surface. Once you’ve understood how this works, the potential applications are only limited by your creativity and vision. Leverage these powerful technologies (Salesforce Flows, HTTP Callout, APIs) working together in perfect harmony, delivering unparalleled results for your business. So, let’s dive in.

NOTE: Certain sections of the guide will appear as locked in the free preview. You can download the unlocked version of the guide in PDF format by subscribing to our “All Access” Pass through the link below.

Not an “All Access” Pass Member Yet?

Get Download Access to this & 150+ More Step-by-Step Guides with “All Access” Pass. A simple and single plan to access our entire library of courses, guides, workshops & masterclasses on Salesforce.

Introducing Mastering Salesforce Flows Training Course

Liked this post? We are now offering a complete self-paced, video-based training course on Mastering Salesforce Flows. The course comes with downloadable step-by-step PDF guides, unlimited access, free upgrades, community discussion area, free preview and more. For more details, please click here.

Need Help with Flows?

Need advice on Flows? I also offer advisory & consulting services on Salesforce Flows. So, whether you want to create new Flows or migrate existing automations (Workflow Rules, Process Builder, Triggers) to Flows, I can help you analyze, design, plan & review. To initiate a discussion, please submit the contact form here stating your requirement or book a 30-minute free discovery call at this URL.

References & Useful URLs

2 thoughts on “How to Make HTTP Callout (GET) from Salesforce Flow to Display Contact’s Current Time”

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top
Introducing All Access Pass