This article walk you through to securely connect to external APIs using bearer tokens in Salesforce, using the External Credentials to store the token and configure Named Credentials to pass it in API requests. After setup, register the external service using an OpenAPI schema to make its actions available in Flow Builder for automation.
Category: Integration
The Apex code illustrates how to generate XML containing Account information and its related Contacts. It includes the Account details in the root tag and adds the Contacts within a
This article walk you through using the Slack API within Salesforce Apex. This contains an example of unarchiving the Slack channel using API: https://api.slack.com/methods/conversations.unarchive
This article has two apex invocable actions that can be invoked from the flow and other apex classes.
The following article demonstrates exposing the apex class as a REST web service for creating a lead record in Salesforce. It is designed to handle HTTP POST requests containing lead data in JSON format.
Recently I was working on Salesforce – Asana integration project using Asana API in apex. It works fine by creating asana tasks, sub-tasks, etc. using normal API requests. But when it comes to uploading files as attachments to Asana consuming API, I was stuck. Because it requires the file data to be encoded in some special format with the multipart/form-data.
Integration between Salesforce and Stripe. Sample code to create an charge object in stripe using apex code. The apex code can be invoked from the flow.
