Important
For use with the Heroku AppLink and Heroku Eventing pilots only. For more information and signup please review Getting Started with Heroku Integration (Pilot) and Getting Started with the Heroku Events (Pilot) (applies to pattern 4 only).
This collection of applications demonstrates various integration patterns between Heroku and Salesforce that take advantage of our Heorku AppLink and Heroku Eventing addons for Heroku. They cover key use cases such as accessing Salesforce APIs for data exchange and automation (including efficient bulk data handling), extending Salesforce functionality by enabling Apex, Flow, and Agentforce to interact with Heroku apps, and scaling batch jobs by delegating compute-intensive tasks to Heroku Workers. Furthermore, the patterns illustrate how to leverage eventing for automation and communication, including triggering jobs and notifying users via custom notifications, showcasing the integration with low-code tools like Salesforce Flow.
Note
Pattern | What it covers? |
---|---|
Pattern 1: | This pattern application showcases how to extend a Heroku web application by integrating it with Salesforce APIs, enabling seamless data exchange and automation across multiple connected Salesforce orgs. It also includes a demonstration of the Salesforce Bulk API, which is optimized for handling large data volumes efficiently. |
Pattern 2: | This pattern demonstrates importing a Heroku application into an org to enable Apex, Flow, and Agentforce to call out to Heroku. For Apex, both synchronous and asynchronous invocation are demonstrated, along with securely elevating Salesforce permissions for processing that requires additional object or field access. |
Pattern 3: | This pattern seamlessly delegates the processing of large amounts of data with significant compute requirements to Heroku Worker processes. It also demonstrates the use of the Unit of Work aspect of the SDK (JavaScript only for the pilot) for easier utilization of the Salesforce Composite APIs. |
Pattern 4: Using Eventing to drive Automation and Communication Java, Node.js |
This pattern extends the batch job pattern by adding the ability to use eventing to start the work and notify users once it completes using Custom Notifications. These notifications are sent to the user's desktop or mobile device running Salesforce Mobile. Flow is used in this pattern to demonstrate how processing can be handed off to low-code tools such as Flow. |