
Discover how Heroku App Link extends Salesforce to run scalable tasks using industry languages like Node.js and Python, beyond Apex limits. Build and deploy external apps via flows.
Preview the GitHub repo organization for code examples in node JS, API specifications, and apex classes, and learn to refer to or copy paths as you implement.
Explore how the Heroku app link bridges Salesforce with external languages, enabling compute-heavy tasks beyond Apex governor limits while securely accessing customer 360 data.
Deploy your code to a Heroku secure server and connect with Salesforce via App Link, which provides authentication, external services, and unlimited compute scale beyond Salesforce governor limits.
Explore a decision matrix for choosing the right tool: native Salesforce, MuleSoft, analytics data cloud, or Heroku app link, based on performance, compute needs, and integration complexity.
Set up a Salesforce org and Heroku dynos, install Node.js and essential tools, install the app link plugin, and build a Node.js API invoked from Apex and flow.
Build a simple node.js fastify API that logs hello world and returns a message, connected to Salesforce via the Heroku app link, with guidance on the API spec YAML.
Define an external service API spec using OpenAPI in Swagger Editor, documenting a hello world get endpoint at /first application so Salesforce AppLink can create external services and invocable actions.
Test your Node.js API locally by npm install and npm start, then invoke it with a local script using org domain, access token, and org ID before deploying to Heroku.
Deploy a node.js app to Heroku by creating the app, adding buildpacks (node.js and Heroku app link service mesh), and pushing code to the cloud.
Connect a Node.js app on Heroku to a Salesforce org and publish it as an external service via an API specification, with necessary permissions, credentials, and app link.
Learn to invoke Heroku apps via AppLink from Salesforce flows and Apex, handling synchronous vs asynchronous APIs, external services, and debugging with logs.
Learn to invoke a heroku app from apex using the heroku app link add-on, calling the first application and handling the 200 response in flow or apex.
Explore how Heroku AppLink runs with different user modes, including default user, user plus, and authorized user, governing Salesforce data access via context, permission sets, and session-based permissions.
Explore using the Salesforce Node.js SDK with the data API to query data using query and query more, and perform DML via unit of work in a fire-and-forget integration.
Create an asynchronous function with a Salesforce async handler, returning 201 immediately, then process Salesforce data in 2,000-record batches via the data API and unit of work.
Learn to process large Salesforce data asynchronously by batching 2000 records into chunks of 500 records, using the data API's query mode, and perform DML with an exit condition.
Define the api specification for a new function, outlining updating accounts with a get operation, and configure authorization via a connected app and Heroku app link to publish to Salesforce.
Publish the same Heroku app link to a Salesforce org by connecting with Heroku and the Salesforce publish command, creating a connected app and permission set for batch account updates.
Invoke the Heroku app from Apex to process 56,000 records in batches of 500, using the Heroku SDK, Data API, and unit of work with the composite graph.
Run the local server to test Salesforce integration without a Heroku instance, and use the org domain, access token, org id, and user id to update account records in batches.
Learn to pass data from Salesforce to Heroku AppLink applications via post requests, implement dynamic queries, and configure callbacks so Salesforce receives processing results and errors.
Convert the get API to a post API to let Salesforce send a dynamic query and fetch account data via a JSON body and asynchronous handler.
Configure an out-of-the-box callback to Salesforce for asynchronous processing by posting a JSON payload with total processed or error, and handle success or failure via Apex callbacks.
Explain invoking asynchronous API calls from Apex to a Node.js app via a callback, configure update account requests, and troubleshoot a 500 callback error and invalid Apex callback type.
Learn to fix a Salesforce callback issue by routing rest callout to a custom rest API via a node.js endpoint invoked from Apex, ensuring a 200 response after total processing.
Explore installing and using open source libraries with npm, focusing on Excel JS for manipulating Excel files in a Node.js environment, including importing libraries and create, update, and delete operations.
Build a node.js app that creates an excel file with account and contact data using exceljs and fs, then uploads to Salesforce via content version and content document link.
Publish a Node.js create excel API to Salesforce via Heroku app link, generate excel for 56,000 accounts and 144 contacts, and link it with content version and content document.
Learn to fetch related records in a single Salesforce query using subqueries, parsing subquery results to access contacts and other child records, improving efficiency.
Learn to optimize Salesforce SDK queries by using a single subquery to fetch accounts, contacts, and opportunities, and parse the resulting JSON for efficient data processing.
Learn how to use user plus mode with the heroku app link to access restricted fields and implement a post api flow that updates a single record.
Learn to invoke a post api service from a flow by building json body with a record id, then handle success and errors with Heroku update and permissions.
Install and configure Java, Salesforce CLI, VSCode, Node.js, and Git across Windows, Mac, and Linux, then verify commands to set up a complete Salesforce development toolchain.
Welcome to the Salesforce Heroku AppLink course, where we will learn how to build scalable and performance-intensive solutions using industry-standard languages such as Node.js, Python, and more.
This course is designed to teach Salesforce Heroku AppLink integration from scratch. You will understand why it is needed, how to choose the right solution, and how to build solutions from the very beginning through to advanced levels. By the end of this course, you will have a complete understanding of Heroku AppLink, starting from the fundamentals to real-world implementation.
What is Heroku Applink ?
Heroku AppLink lets you add unlimited compute power to your Salesforce org overcoming some platform governor limits while still keeping everything inside the trusted Salesforce ecosystem.
Think of Heroku AppLink as a bridge between Salesforce and the outside world. It allows us to use code written in any programming language (Node.js, Python, Java, etc. hosted on Heroku) inside Salesforce. These External Solution can then be invoked via.
1.Apex
2.Flows
3.Agentforce Agents.
We will learn how to write simple and complex business logic using industry-standard programming languages such as Node.js and Python.
We will learn how to define API specifications for API services.
We will learn how to create Heroku apps, connect Heroku to an IDE, and deploy code using the Heroku CLI.
We will learn how to publish Heroku AppLink solutions to Salesforce.
We will learn how to build GET and POST API operations in Node.js, connect them to Salesforce, and invoke them from Flows and Apex.
We will work with external libraries provided by industry-standard languages, such as packages from npm for Node.js and PyPI for Python.
We will work with the Salesforce SDK to perform various activities in Salesforce from externally hosted solutions.
We will learn and implement various user modes supported by Heroku AppLink, including User Mode, User Plus Mode, and Authorized User Mode.
We will work with queries, subqueries, and Unit of Work provided by the Data API.
We will learn about callbacks in asynchronous API operations and how to build a custom callback
Note:
You will get the PPT of each lecture.
Code related to each lecture