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.

 

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

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

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.

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.

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.

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.

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

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

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.

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

then we will add the decision element

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

Then Save the flow.

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.

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.

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

In this detailed guide, we will walk you through the significant yet easy steps to configure Email to Salesforce. Without any further ado, let’s get started! About Email to Salesforce As the term refers, Email to Salesforce is valuable for any organization that businesses use as their Customer Relationship Management (CRM) platform. It helps streamline […]

Read More
Guide on CRUD Operations in Node.js with jsForce

CRM developers typically need to integrate Salesforce with Node.js apps. One well-known library for this purpose is jsForce, which provides a comprehensive set of tools for interacting with Salesforce data and performing CRUD tasks effectively. Let’s dive into the blog, where you will understand the use of jsForce to execute key CRUD tasks within Salesforce, […]

Read More
How to Implement Round Robin Assignments in Salesforce Using Apex

Ensuring a proper workload balance and quick follow-ups from internal or external team members, leads, opportunities, or task distributions is crucial. To achieve this, all you need is a Round Robin assignment. In this step-by-step guide, we will walk you through the process of implementing a round-robin assignment in Salesforce using Apex. Here, we’ve used […]

Read More
Best Salesforce Developments Services Provider

In this step-by-step guide, we will walk you through the significant role of Large Data Volumes in Salesforce, and what strategies or practices you should keep in mind. What is Large Data Volumes? In Salesforce, Large Data Volumes (LDV) refers to managing a huge amount of records available in the platform. LDV usually comes into […]

Read More

Salesforce Apex includes numerous built-in text handling classes, and in addition to them, the Pattern and Matcher classes are good for performing complex string operations. These classes enable us to define and work with regular expressions, which are of particular importance for data validation, searching, and modification. In this technical blog, we will find out […]

Read More

Maintaining security and compliance in Salesforce requires effective user access management. This article will lead you through the process of creating expiration dates for Permission Sets and Permission Set Groups, allowing you to automate access removal while minimizing manual work. Know how this functionality simplifies workflows, guarantees compliance, and improves security procedures. Why Use Expiration […]

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
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818