Ability to Bind Http Request to an Action Button
I would like to create an action button in Anaplan that allows users to call external APIs by passing headers, query parameters, and a lightweight payload. This button would be published for users to trigger API requests with a simple click.
Ideally, Anaplan would automatically refresh the dashboard and its source model upon receiving a successful response (e.g., HTTP 200).
Enabling this functionality would unlock numerous opportunities for integrating external APIs, such as initiating on-demand data pulls with a single button press. I think Pigment already has a similar feature.
Comments
-
Anaplan doesn't natively support direct API calls from a button, but you can achieve this by creating an intermediate service (like a serverless function, tellthebell) to handle the API call with parameters and payload, and then use the Anaplan API to update the model and refresh the dashboard upon a successful response. This requires custom development.
0 -
I've been using serverless function to achieve this, but it's not ideal. It feels more like a workaround, which is why I'm requesting this as a native feature on the Idea Exchange.
Unlike a dedicated button, the serverless function works as a link that redirects the user every time it's clicked, resulting in inconsistent UI. Additionally, there's no way to hide API credentials, as they have to be passed as parameters in the URL.
0
Get Started with Idea Exchange
See our Submission Guidelines and Idea Evaluation Criteria, then start posting your own ideas and showing support for others!