Skip Navigation
Show nav
Heroku Dev Center Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
Heroku Dev Center Dev Center
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
    • .NET
  • Documentation
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
    Heroku Blog

    Heroku Blog

    Find out what's new with Heroku on our blog.

    Visit Blog
  • Log in or Sign up
View categories

Categories

  • Heroku Architecture
    • Compute (Dynos)
      • Dyno Management
      • Dyno Concepts
      • Dyno Behavior
      • Dyno Reference
      • Dyno Troubleshooting
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Buildpacks
    • Platform Principles
  • Developer Tools
    • Command Line
    • Heroku VS Code Extension
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery & Integration (Heroku Flow)
    • Continuous Integration
  • Language Support
    • Node.js
      • Node.js Behavior in Heroku
      • Troubleshooting Node.js Apps
      • Working with Node.js
    • Ruby
      • Rails Support
      • Working with Bundler
      • Working with Ruby
      • Ruby Behavior in Heroku
      • Troubleshooting Ruby Apps
    • Python
      • Working with Python
      • Background Jobs in Python
      • Python Behavior in Heroku
      • Working with Django
    • Java
      • Java Behavior in Heroku
      • Working with Java
      • Working with Maven
      • Working with Spring Boot
      • Troubleshooting Java Apps
    • PHP
      • Working with PHP
      • PHP Behavior in Heroku
    • Go
      • Go Dependency Management
    • Scala
    • Clojure
    • .NET
      • Working with .NET
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
      • Migrating to Heroku Postgres
    • Heroku Key-Value Store
    • Apache Kafka on Heroku
    • Other Data Stores
  • AI
    • Vector Database
    • Model Context Protocol
    • Working with AI
    • Heroku Inference
      • Inference Essentials
      • AI Models
      • Inference API
      • Heroku Inference Quick Start Guides
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
      • Single Sign-on (SSO)
    • Private Spaces
      • Infrastructure Networking
    • Compliance
  • Heroku Enterprise
    • Enterprise Accounts
    • Enterprise Teams
  • Patterns & Best Practices
  • Extending Heroku
    • Platform API
    • App Webhooks
    • Heroku Labs
    • Building Add-ons
      • Add-on Development Tasks
      • Add-on APIs
      • Add-on Guidelines & Requirements
    • Building CLI Plugins
    • Developing Buildpacks
    • Dev Center
  • Accounts & Billing
  • Troubleshooting & Support
  • Integrating with Salesforce
    • Heroku AppLink
      • Getting Started with Heroku AppLink
      • Working wtih Heroku AppLink
      • Heroku AppLink Reference
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
    • Other Salesforce Integrations
  • Integrating with Salesforce
  • Heroku AppLink
  • Working wtih Heroku AppLink
  • Invoking Heroku AppLink Apps

Invoking Heroku AppLink Apps

Last updated July 14, 2025

Table of Contents

  • Permissions
  • Apex
  • Salesforce Flow
  • Data Action Target
  • Agentforce
  • Additional Reading

Invoke your app’s APIs using various methods after publishing your app with Heroku AppLink. This article describes the different options for invoking your published apps.

You can invoke your app in Salesforce with:

  • Apex
  • Salesforce Flow
  • Data Action Targets
  • Agentforce

Permissions

If you set the --authorizationPermissionSetName flag when you published the app, before invoking your published app, assign users the permission set generated.

See Working with AppLink for more information on permissions.

Apex

Apex is a strongly typed, object-oriented programming language on the Salesforce platform. You can make synchronous and asynchronous invocations to the Apex classes and methods the external service generated when you publish your app. Invoking with Apex calls out to your Heroku app from your Salesforce org.

Resources

Type Resource
Getting Started Guide Getting Started with Heroku AppLink and Salesforce
Node.js Sample App Extending Apex, Flow and Agentforce - Node.js
Java Sample App Extending Apex, Flow and Agentforce - Java

Salesforce Flow

Salesforce Flow is a declarative tool for creating, managing, and running automations in your Salesforce org. You can add the external service action generated from publishing your app to your flow. Using flows makes it easy to call your Heroku app without writing code.

Resources

Type Resource
Getting Started Guide Getting Started with Heroku AppLink and Salesforce
Node.js Sample App Extending Apex, Flow and Agentforce - Node.js
Java Sample App Extending Apex, Flow and Agentforce - Java

Data Action Target

A Data Cloud data action enables different types of event-driven integrations and orchestrations in Salesforce and Data Cloud. You can create your Heroku app as a data action target to send events to when certain actions happen, such as customer interactions on an app, decreasing customer satisfaction scores, or more.

To create a webhook data action target, run the command:

$ heroku datacloud:data-action-target Example_DAT -a applink-dc-app -o productionOrg

Creating ⬢ example-app as 'Example_DAT' data action target webhook to productionOrg... Created

Resources

Type Resource
Getting Started Guide Getting Started with Heroku AppLink and Data Cloud

Agentforce

Agentforce lets you build intelligent, customizable, and conversational AI agents in Salesforce for assisting employees and customers. Configure your app’s OpenAPI spec so you can generate custom Agentforce actions for your agent to perform specific tasks and perform dynamic calculations on your data.

Resources

Type Resource
Getting Started Guide Getting Started with Heroku AppLink and Agentforce
Python and Java Sample App Creating Agentforce Custom Actions with Heroku
Java Sample App Supercharging Agentforce with Heroku

Additional Reading

  • Heroku AppLink category
  • Getting Started with Heroku AppLink

Keep reading

  • Working wtih Heroku AppLink

Feedback

Log in to submit feedback.

Working with Heroku AppLink Working with Heroku AppLink

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure
  • .NET

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing
  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Github
  • LinkedIn
  • © 2025 Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States
  • heroku.com
  • Legal
  • Terms of Service
  • Privacy Information
  • Responsible Disclosure
  • Trust
  • Contact
  • Cookie Preferences
  • Your Privacy Choices