We’re Heading to CNX ’25. Let's Meet in Chicago! Join HIC at Salesforce Connections'25 for conversations, collaboration, and co-creation.

Salesforce Flow is a powerful automation tool that allows users to build custom business processes and automate complex tasks within the Salesforce platform. With the introduction of HTTP callouts, Flow has become even more versatile, enabling seamless integration with external systems and services. 

In this article, we will explore the concept of HTTP callouts in Salesforce Flow and discover how they can enhance your automation capabilities.

Understanding HTTP Callouts:

An HTTP callout is a mechanism that enables a Flow to make requests to external systems or services using HTTP protocols. This capability opens up a world of possibilities, as it allows you to interact with a wide range of APIs, retrieve data from external sources, or even trigger actions in external systems.

To implement HTTP callouts in Salesforce Flow, you need to follow these essential steps:

Steps to HTTP callouts in Salesforce Flow

We need to create our Permission Set. With the help of permission sets, we are allowing users so that they can make HTTP Callout from Salesforce Flow.

 

1 63486b0564

2 1 63487b72f8

After Creating Permission sets, now we are going to Add a user so that the user can make an HTTP callout from Salesforce Flow.

3 1 634887327a

4 1 63489102d3

5 1 63490e94d6

6 1 6349132af8

7 1 6349292b19

Now We go into the Quick Find Box and type “Named Credentials” to add External Credentials & Named Credentials.

8 1 63493f4a3b

In the Authentication Protocol, we will select “Custom” because we are using free API. If we select “Custom” then we don’t need the Client & Consumer secret key to hit the API you need to select “OAuth 2.0” and similarly “AWS Signature v4”.

Now After Saving the External Credential. We are going to Create new Principles. You can add these principles to permission sets so that your permission set can know about the named credentials.

9 1 63494e1ce6

10 1 63495f7c30

Now We create our Named credentials and in the “URL” section we are going to use Abstractapi.com Website where we are going to hit the Email validation API.

11 1 63496772cd

12 1 634970fda8

13 1 634987da27

In this “URL” section we are using an Email Validation API URL.

Now we are adding our External Credential into the Permission sets “External Credentials Principal Access” section.

14 1 634998759e

15 1 63500bf1dc

Till now we are done with the setting to perform to hit the API from Salesforce Flow.

How to Create Screen Flow ?

Now we will see how to create Screen Flow in Salesforce and this will show us the result of whether our Input Email is Deliverable or not and its Quality score.

16 1 63504c5560

17 1 63505e2d6d

18 1 63506aa8d8

19 1 63507b4ef2

20 63508b0815

After implementing the Screen element. Now we will add an Action element.

21 635090a11f

22 635107f064

23 63511eca76

24 635226dc7c

when done with JSON Response “Provide Sample Response” will be green checked

25 63523047ce

Now to add api_key we are copying it from abstractapi.com website. and store it in a variable and the data type would be Text.

26 635249f780

27 63525c2c79

After creating a new Resource add it in api_key Input Values. and select in the “email” field “email. value”.

28

then we will add the decision element

29

Now we will again add screen element to show result we get from entering input.

30

Then Save the flow.

31

After saving the flow, now we will debug the flow to test whether it is running properly or not.

and in the Email input field enter any valid email id then click on Validate Email and it will show you the result whether it’s Deliverable or not and it’s Quality score.

32

33 63531e4ac1

And now enter an email which is not valid then it will show you the Deliverability whether it’s Deliverable or not and it’s Quality score.

34

35

Conclusion

HTTP callouts have revolutionized the capabilities of Salesforce Flow by enabling seamless integration with external systems and services. With the ability to retrieve real-time data, trigger actions, and enhance decision-making, HTTP callouts empower users to build dynamic and intelligent automation processes within Salesforce. 

By following the above-mentioned steps, you can implement  HTTP callouts in Flow to unlock new automation possibilities. Be sure to try out the solution and  Stay tuned for more!

Related Articles
Expert Guide On Utilizing Agentforce for Seamless Quote & Case Creation

When it comes to managing customer journeys in Salesforce, speed and accuracy matter. That’s where Agentforce, a powerful extension layer, comes into play. Whether spinning up a new quote from an opportunity or logging a support case from a contact, Agentforce can help streamline these actions with minimal clicks and maximum context. In this blog, […]

Read More
How to Use Platform Events in Salesforce Flow for Real Time Updates

Platform events in Salesforce Flow are a great tool for creating real-time, event-driven apps that automate business operations with precision and speed. By integrating Platform Events’ publish-subscribe approach with Salesforce Flow‘s low-code features, you can automate processes, allow real-time system interaction, and optimize how your organization manages dynamic data changes. This guide will demonstrate how […]

Read More
Build a Dynamic Salesforce Data Viewer with hange kardo bas LWC

Lightning Web Components (LWC) is a modern JavaScript framework that is used for building responsive, dynamic applications on the Salesforce platform. In LWC, data flows from parent-to-child component. Variables marked as @api in the child component are open for a parent to pass values directly into the child’s HTML template, making the component interactable. To […]

Read More
Expert Guide On Nominal XIRR Calculation Using LWC in Salesforce

When building financial tools within Salesforce, handling irregular cash flows with precision is a must. Whether you’re developing investment trackers, portfolio performance dashboards, or funding monitors, calculating Nominal XIRR (Extended Internal Rate of Return) becomes essential. In this blog, you’ll learn how to build a Lightning Web Component (LWC) in Salesforce that calculates Nominal XIRR […]

Read More
Beginners Guide to Making Your LWC Component Multilingual

If you’re wondering how to make your LWC component multilingual, you’re already ahead of the curve. Global users expect content in their native language, and Salesforce gives you the tools to deliver exactly that. With Custom Labels and the Translation Workbench, you can easily localize your Lightning Web Components without touching a single line of […]

Read More
Hands-On Guide Building a Drag-and-Drop Form Builder Using Lightning Web Components

Drag-and-drop interfaces are a user experience staple, and when paired with the power of Lightning Web Components (LWC), they unlock dynamic, highly interactive Salesforce components. In this blog post, we’ll walk you through how to build a custom drag-and-drop form builder in LWC. Users can drag form fields like text inputs and dropdowns into a […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
6D - 7398 Yonge St #1124 Thornhill, ON L4J 8J2 Canada +1(262) 310-7818