Skip to content

heroku-examples/heroku-integration-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Heroku Integration and Eventing Samples (Pilot)

Important

For use with the Heroku Integration 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 sample 4 only).

This collection of sample applications demonstrates various integration patterns between Heroku and Salesforce that take advantage of our Heorku Integration and Heroku Eventing features. 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 samples 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

  • Follow this repository for updates as we expand the samples and languages they are availble in.
  • It is recommended that you watch these two videos relating to the pilots, video 1 and video 2 (applies to sample 4 only).
Sample What it covers?
Sample 1:

Salesforce API Access - Java

This sample 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.

Sample 2:

Extending Apex, Flow and Agentforce - Java

This sample 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.

Sample 3:

Scaling Batch Jobs with Heroku - Java

This sample 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.

Sample 4:

Using Eventing to drive Automation and Communication - Java

This sample extends the batch job sample 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 sample to demonstrate how processing can be handed off to low-code tools such as Flow.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published