When the Shuffle HTTP app is the right way to call a REST API
The HTTP app lets a Shuffle workflow call any REST endpoint as an action, without building a custom app first. Use it when a playbook needs data from a system, or must send an instruction to it, and no ready-made app covers the endpoint you need. In practice that means a Shuffle workflow step sends a request with a method, URL, headers and body, then passes the response to later steps. Typical uses include looking up an asset or user in an internal inventory, fetching a ticket's status, or posting an enrichment result to a case tracker that has an API but no Shuffle app.
Before you choose the HTTP app, check the catalog first. A catalog app that already wraps the vendor API handles authentication, field naming and error shapes for you, and it is easier for the next analyst to read. Move to a custom app when the same integration appears in many workflows, when you need typed actions that others can reuse, or when the API is large enough that hand-built calls become hard to review. The Shuffle apps documentation describes two ways to build those apps: from an OpenAPI specification in the App Creator, or in Python with the Shuffle app SDK. Each produces a versioned Docker container, so a custom app adds a build and maintenance step that the HTTP app avoids. Confirm which of these fits your team's skills and release process before you commit.
Deciding between the HTTP app, a catalog app and a custom app
Each Shuffle integration path carries a different maintenance burden. The factors below help you decide whether a single REST call belongs in a workflow step or whether it justifies a packaged app with its own lifecycle.
Check for a maintained catalog app first
Before writing any REST call, search the Shuffle app catalog for the vendor. A catalog app already maps the endpoints, authentication fields and output shapes, and someone else handles changes to the vendor API. Check when the app was last updated, which API version it targets and whether its actions cover the endpoints you need. If the catalog app covers only part of your use case, the HTTP app can fill the gap without forking the vendor app.
Shuffle apps docsCount the endpoints the playbook uses
A single lookup or ticket update is a good fit for the HTTP app. When a playbook calls five or more endpoints from the same API, with shared headers, pagination and error handling, the calls start to repeat across steps. At that point, an app that groups the endpoints as actions is easier to review and reuse. Record the endpoint list before you choose, because it is the number that changes the answer most often.
Decide whether the call is one-off or shared
A call used by one playbook for one purpose can stay as an HTTP step, where its URL, headers and parsing live beside the logic that uses them. If the same call appears in several workflows, or other teams need it, copy-paste creates drift. Each copy then needs its own credential update and fix when the API changes. Shared calls are the usual signal to move to a reusable app.
Assign a named owner for the integration
Every HTTP step or app needs someone who will update it when the vendor changes an endpoint, rotates an authentication method or deprecates a field. Ask who will test changes, who approves credential changes and who is notified when a workflow fails on that step. Catalog apps and HTTP steps often have no owner in practice, which is why this factor belongs in the decision.
Budget for packaging a custom app
A custom app is built from an OpenAPI specification in the App Creator or written with the Python SDK, and it runs as a versioned Docker container. That adds work: writing and validating the specification or code, building and versioning the image, testing it on the runtime your workers use and deciding how it is upgraded. Ask whether your team or a partner will own that lifecycle, and what the release process looks like for each app version.
Shuffle apps docsConfirm the container runtime before packaging
A custom app runs in a container started by the worker, so it must be reachable from the runtime where your workflows execute. Confirm that the Docker image can be pulled on every worker node, that the app can reach the target API from that network and that air-gapped sites have a path for new image versions. Problems here often appear only after the app is first used in production.
HTTP app action settings and when each fits
This table compares the main HTTP app action inputs (method, URL, headers, query parameters, body and credentials) and says when each fits and where teams usually go wrong. Confirm the exact field labels in your Shuffle version before building, since labels can change between releases.
| Setting | When it fits | Typical mistake |
|---|---|---|
| Method | Read-only lookups use GET; creating or updating records in the target system uses POST, PUT or PATCH as the API documents | Sending a write with GET or using POST for an idempotent lookup, which can trigger duplicate changes when a step retries |
| URL | The full endpoint on a host the worker container can reach, often a public or internal DNS name | Using localhost or 127.0.0.1, which resolves to the app container, not your server or the target system |
| Headers | Content type, accept headers and vendor-specific headers the API requires | Pasting a bearer token directly into a header value in the workflow, where it is visible in the editor and execution views |
| Query parameters | Filters, paging cursors and search terms that the API expects in the URL | Building query strings by concatenating untrusted alert fields without encoding, which breaks the request or changes its meaning |
| Body | JSON or form payloads for create and update calls, built from earlier action outputs | Hard-coding a token, password or API key inside the body, where it is stored in workflow history and shared exports |
| Stored authentication or credentials | Reusable secrets for the target API, saved once and referenced by the action so they are encrypted at rest | Recreating credentials in each workflow, or losing the SHUFFLE_ENCRYPTION_MODIFIER value so saved authentications stop working |
| Authentication fields in the action | Short-lived or one-off tests where the vendor requires a specific scheme, after confirming the labels in your version | Leaving a test token in a copied workflow that is later exported to another environment |
| Response handling | Parsing JSON fields for later conditions, after checking the status and success result of the action | Assuming a 200 from the API means the business action succeeded, without checking the returned fields |
Setting up a first HTTP call safely
This sequence takes one REST call from network check to a validated response, so the first run proves the path, the credential and the parsing before any downstream step depends on it. Each step closes with a check you can see in the execution output.
Confirm network reachability from the runtime
Before building anything in the workflow, confirm that the machine running the worker can reach the API endpoint. In a Docker Compose install this is usually the Orborus host or the host running the app container, not the browser you use to log in. Run a plain request from that host (for example with curl) against the base URL and check that you get an HTTP status back, including a 401 or 403, which still proves the route is open. If your runtime is a Shuffle Cloud hybrid with a local Orborus, check that outbound connections from that node are allowed through your firewall, because no inbound ports are needed for that model. Confirm that the URL is not a localhost address, since localhost inside a container points to the container itself. Done means the request returns a status code from the runtime host.
Store the credential as a saved authentication
Create the API key, token or username and password as a saved authentication in Shuffle rather than typing it into a workflow field. Saved credentials are stored in OpenSearch and encrypted with AES-256 using the key set by SHUFFLE_ENCRYPTION_MODIFIER, so the secret never appears in the workflow JSON that you export or share. Record where that modifier value is kept in your secrets manager, because the Shuffle configuration documentation warns that losing or changing it breaks every saved app authentication. Use a service account with the least access the API needs, and name the credential so that staging and production copies are easy to tell apart. Done means the authentication appears in the list of saved credentials and the workflow references it by name, not by value.
Build the request with a test value
Add the HTTP app action to a test workflow and set the method, the URL path and any required headers. Use a known test value for the one variable the request needs, such as a single hostname or record ID that you already know exists, instead of a live alert field. Keep the first request read-only where the API allows it, so a mistake cannot change data in the target system. Attach the saved authentication to the action rather than pasting a header value. Check that the action's parameters show the expected URL after variable substitution. Done means the rendered request in the action settings matches what you tested with curl in the first step.
Run the action and inspect the raw response
Run the workflow once and open the execution details for the HTTP action. Read the raw response body, the status code and any headers before you touch any parsing logic. Confirm that the status is the success code you expect and that the body contains the fields you plan to use. If the run fails, check the worker and app container logs and common causes such as a wrong base URL, a missing authentication or a rejected token. Note the exact field names and the data types returned, because JSON keys can differ from the vendor's example. Done means you have a saved sample response that you can reference when you write the next step.
Parse the fields you need
Extract only the values the playbook needs from the JSON response, using a parsing step that refers to the exact keys you recorded. Keep the parsing narrow so that a future change in the API response does not silently pass unrelated data downstream. Where the value is a list, decide whether the next step will loop over it or filter it, and test that choice with the same sample. Verify the output by running the workflow again and checking that the extracted value appears in the action results with the expected type. Done means the parsed value is visible in the execution output and matches the sample you saved.
Add a response check before downstream use
Add a condition after the HTTP action that checks the status code and the success field your API returns before any later action uses the data. Route failures to a separate branch that stops the flow or sends a notification, so that an empty or error response never reaches a ticketing or blocking step. Use a deliberately bad credential or a non-existent record in a test run to confirm that the failure branch fires. Done means both the success path and the failure path produce the outcomes you designed, and the failure run is visible in the execution list.
Record the call before reuse
Document the endpoint, method, credential name, expected status codes, the parsed fields and the failure behavior in the workflow description. Export the workflow to a version-controlled location with the credential referenced by name only. Keep this record so that the same call can later be moved into a reusable app or copied to another environment without re-discovering its behavior. Confirm the export does not contain the secret value by searching the file for the key material. Done means the workflow has a written description and a clean export that another engineer can run after reviewing it.
Parsing JSON responses and handling errors in a playbook
A downstream step in Shuffle reads fields from the HTTP action result by referencing the action's output by name, then a path into the JSON body, such as the status and body keys that the HTTP app returns. Before any later step depends on those fields, run the HTTP action once against the real endpoint, open its result in the workflow execution view, and confirm the exact key names, nesting and data types. Treat the first successful run as the specification for the response shape. Record that shape in the playbook description or in a comment so the next editor knows which fields the logic expects. Be aware that a field that is a number in one response can arrive as a string in another, and that an empty list can look different from a missing key, so check those cases with a test request where the API allows it.
A non-success HTTP status does not stop a playbook by itself. A downstream step may still run and read a body that is an error message, an HTML page or an empty value, so the playbook can take the wrong branch without any visible failure. Add an explicit condition after the HTTP action that checks the status code and the presence of the key you need, and route anything else to a dedicated failure path. Keep that path short and specific, with a log entry or a case note that records the endpoint, the status and the execution ID. Confirm with the API owner which status codes mean partial success, rate limiting or maintenance, because those usually need different handling than a hard failure. Shuffle's Liquid formatting and the error notification workflow are covered in the sibling topics on formatting data with Liquid and on error handling and failure notifications, so this section only sets the decision points those topics build on.
How a playbook HTTP call travels through Shuffle
The call starts when a workflow runs an HTTP action in the Shuffle backend, which holds the saved credential store and hands the job to Orborus. Orborus polls for the job, starts a worker for the execution, and the worker starts the app container that sends the request to the external REST API. Check the trust boundary: saved credentials are decrypted inside the Shuffle server side, and the inbound firewall rules you need depend on whether Orborus runs next to the backend or as a hybrid node with Shuffle Cloud.
The hand-offs from a workflow HTTP action to the external API, with the credential store and runtime boundaries marked.
Protecting credentials and data in HTTP calls
An HTTP app call is only as safe as the way it carries secrets and data. The cards below cover the places credentials tend to leak, the Shuffle controls that limit exposure, and the settings to confirm in your own environment before a playbook calls a production API.
Keep credentials out of workflow text
Pasting a token or password into a header, URL or body field stores it in the workflow definition, where it can be exported, copied into a Git backup or shown in execution details. Store the credential as a Shuffle authentication entry and reference it from the app action instead. Confirm that your team's exports and Git backups do not contain literal secrets, and that logs for the app do not echo request headers.
Limit who can see saved tokens
Saved app authentications are shared within a tenant, so any user who can edit a workflow may be able to use a credential they never typed. Decide which accounts may create or reuse authentications, and keep production tokens separate from test tokens. Confirm the role model in your instance and review who holds admin rights before adding a production API key.
Scope API tokens to the calls needed
A generic HTTP call often reuses a broad admin token that was convenient during testing. A token that can read and write far more than the playbook needs turns one compromised workflow into a wider incident. Ask the API owner for a read-only or narrowly scoped token for each use case, and record which endpoints and methods it permits.
Check destinations before sending data
Any action can send alert fields, user identities or file contents to whatever URL the workflow names, including a test or third-party host. Before a call goes live, list the endpoints the playbook may reach and confirm each one is approved for the data class it receives. Pay attention to fields pulled from upstream alerts that may contain personal data.
Protect the encryption modifier
Shuffle encrypts saved app credentials and API keys in OpenSearch using the SHUFFLE_ENCRYPTION_MODIFIER secret. Changing or losing that value makes every saved authentication unreadable, so HTTP calls that depend on them stop working. Store the value in your secrets manager, back it up under the same access controls as the database, and confirm it is set identically in every environment that restores this data.
- Credential encryption
- AES-256
Keep TLS verification enabled
Turning off certificate verification on an HTTP call makes the connection open to interception, and the setting is easy to leave behind after a lab test. Use certificates issued by your internal CA or a public CA, and add the CA to the worker environment if needed rather than disabling checks. Confirm that no action in your shared workflows has verification turned off, and review this during each workflow promotion.
When a proven HTTP call should become a reusable Shuffle app
When should an HTTP call in a Shuffle workflow become a reusable app?
Promote the call when it has proven useful and the cost of keeping it inline is rising. The usual triggers are that the same endpoint appears in several workflows, the call needs versioning or tests, several teams need to share it, or the integration should appear in the app catalog. A one-off call used in a single playbook can usually stay inline. Before promoting, confirm that the request, authentication and response handling already work reliably, because a packaged app will copy whatever behavior you have not yet fixed.
Why does reuse across workflows justify packaging an HTTP call?
Reuse is the strongest signal because every inline copy must be changed separately when the endpoint, header or parameter changes. If the same endpoint is called in several playbooks, a single app gives you one place to fix a bug and one place to review how credentials are used. Count the workflows that call the endpoint and note which ones send the same parameters. If the copies have drifted apart, that drift is already a reason to consolidate them into one app.
Does a shared HTTP call need versioning and tests before it becomes an app?
Yes, when a change to the call could break several playbooks at once or when auditors and reviewers need to see which version ran. Shuffle runs apps as versioned Docker containers, so each change can be tracked as a new app version. Keep a set of sample requests and expected responses for the endpoint and run them after each change. Workflows can then be tested against a known app version instead of whatever the inline call happens to do today.
What are the two documented ways to build a Shuffle app from an API?
Shuffle documents two paths. For a REST API with an OpenAPI specification, you can build the app in the App Creator, which generates actions from the specification. For anything the specification cannot express cleanly, or for logic beyond a single request, you can write the app in Python with the Shuffle app SDK. In both cases the result is packaged as a versioned Docker container that Shuffle runs for each action. Confirm the current steps in the apps documentation before you start, since the tooling may change between releases.
What should the app need from authentication and configuration?
Move the endpoint, base URL and credential handling out of the workflow and into the app's configuration. Saved app authentication stores credentials encrypted in OpenSearch, so the app should reference that saved authentication rather than hold keys in parameters. Check the app's action parameters for any value that still differs per playbook, such as a tenant identifier, and keep only those as inputs. Test the app against a non-production endpoint first, because a misconfigured base URL is the most common cause of failures in a packaged app.
How do I retire the inline HTTP calls after the app is ready?
Replace the inline calls one workflow at a time. Add the new app action beside the existing HTTP node, run both against the same test input, and compare the parsed fields and success flags. When the outputs match, switch the workflow to the app action and keep the inline node disabled for a short period before deleting it. Record which workflows now use the app so that a later version change can be tested against all of them. Export the workflows before each change so you can roll back.
Who should own a packaged app once it is in production?
Assign one owner for the app's code, its versions and its test set, and a named reviewer for any change to credentials or endpoints. The owner decides when to publish a new app version and tells the teams whose workflows depend on it. Ownership matters more as the number of consuming playbooks grows. If you need outside help to build, test or hand over the app, ask the partner to confirm in writing who maintains the code after handover and how new versions will be tested.
Limits to confirm before relying on HTTP calls
An HTTP action is only as dependable as the limits around it. Several of these values are set by your Shuffle version, your deployment and the target API, so confirm each one in your own environment before a playbook depends on the call.
Action timeouts
An HTTP action that waits on a slow endpoint can fail or stall a playbook run. The timeout that applies to your version and deployment is not stated here, so confirm the default for HTTP actions and whether you can change it in your configuration. Test the call against the slowest response you expect from the target API, including during its peak hours, and check that the timeout is shorter than the time your analysts can wait for the result.
Configuration docsResponse size handling
Large JSON responses, such as full event lists or paged search results, can consume memory in the worker and slow later steps that parse them. Ask how the HTTP app handles bodies of different sizes and whether it truncates them. Where the target API supports filters, pagination or field selection, request only the fields the playbook needs.
Retry behavior
Retries can turn one failed call into several requests against the target API, and some APIs count every attempt. Confirm whether the HTTP action retries on its own, how many attempts it makes and how long it waits between them. Make sure any retry you add in the workflow does not repeat a non-idempotent request such as creating a ticket.
Target API rate limits
The API you call sets its own quotas, often per key, per user or per IP address. Read the vendor's rate limit documentation, find out which headers signal remaining quota, and plan how the playbook behaves when it receives a throttling response. Shared credentials used across several workflows can exhaust a quota faster than any single workflow would.
App-run limits on your edition
Licensing counts app runs, meaning actions that execute in a workflow, so a polling loop that calls an HTTP action every few seconds adds app runs on every iteration. Check how your edition enforces limits for the version you run, and read the pricing article for current terms before you design a loop. Ask your account contact to confirm how polling and retries are counted.
- Limits enforced from
- 2.1.1
Questions teams ask before calling REST APIs from Shuffle
How much effort does a first REST API integration in Shuffle take?
Effort depends mainly on how well the API is documented, how many endpoints the playbook needs, and how much authentication and response handling the calls require. A single authenticated GET that returns a flat JSON object is a small job, while an API with pagination, token refresh, rate limits and nested responses adds design and testing work for each of those features. Ask for a written list of endpoints, authentication method and expected response shapes before anyone estimates, because those three items usually decide whether the first integration is a day of work or several weeks of testing.
Can an in-house team call a REST API from Shuffle without outside help?
Yes, if the team has someone comfortable with HTTP, JSON, and the security tooling behind the API, because the HTTP app is built into Shuffle and needs no custom code to send requests. The skills gap usually sits in authentication design, Liquid formatting of parameters, and testing edge cases such as empty results and error codes. An internal team that has never run a Shuffle playbook in production often benefits from a short review of its first workflow, which catches problems like localhost URLs and missing credentials before they reach the on-call queue.
What do we need to provide before the work starts?
Plan to provide four things: current API documentation or an OpenAPI specification, a test account with the minimum permissions the playbook needs, network access from the Shuffle runtime to the API endpoint, and a named owner for each credential. Missing documentation slows discovery, a shared or over-privileged test account makes results hard to trust, and blocked routes between the Shuffle runtime and the target often look like application failures. The credential owner should approve rotation timing, because changes to the target system can break saved authentications.
How does promoting an HTTP call to a custom app change the effort?
Promotion adds packaging, versioning and testing work on top of the call that already works. The HTTP app stays fine for a proven call used in one or two workflows, but a call reused across many playbooks, tenants or teams benefits from a versioned app with defined actions, parameters and error handling. Shuffle builds apps from OpenAPI specifications in the App Creator or with the Python SDK, and each app runs as a versioned Docker container, so the team also needs a build, test and upgrade routine. The effort rises with the number of actions, the number of consumers and the number of target API versions the app must support.
Do we need a partner to call a REST API from Shuffle?
A partner is not required for a simple, documented API and a small team with Shuffle experience. A partner is more useful when the API has complex authentication, when the playbook must handle high volumes or many item loops, or when the credential and network design must pass a security or compliance review. Ask any firm how it would verify secrets handling, error paths and runtime access, and whether the scope will be agreed in writing before work starts. DeployOpen delivers fixed-scope engagements, so the scope, deliverables and timeline are agreed in writing before work begins.
Does polling an API from Shuffle affect our licensing?
Shuffle's licensing is tied to app runs, meaning actions that actually execute in a workflow. Triggers and skipped actions are not counted, while users, apps and workflows are unlimited. A polling pattern that runs an HTTP action on a schedule therefore consumes app runs each time the action executes, so the interval, the number of workflows polling the same source and the number of items processed per run all shape the count. Before choosing a polling design, confirm the current license terms with Shuffle and model the expected run volume from the schedule, not from the number of playbooks.
How DeployOpen scopes and delivers HTTP-based Shuffle integrations
An HTTP-based Shuffle integration starts with a written scope, not a workflow. Before anything is built, DeployOpen and the client agree in writing on the endpoints the playbooks will call, the HTTP methods and request bodies each one needs, the credentials model (which account or API key each action uses, where it is stored, and who may change it), the test environment, and the criteria a workflow must meet before it is promoted to production. The scope also names the Shuffle version and deployment architecture in use, because the place where credentials are saved and where actions execute both depend on it. Confirm with your own team which API owners must approve each endpoint and whether the vendor's API has a sandbox or test tenant you can use.
Delivery then follows the scope in three stages. The build stage creates the HTTP actions, Liquid-formatted parameters and JSON parsing logic in a non-production Shuffle instance, with the credentials saved through Shuffle's authentication settings rather than typed into workflow fields. The testing stage runs each workflow against the test API, checks the success conditions and the failure paths, and confirms that the execution list and worker logs show the expected calls. The handover stage transfers the exported workflows, a record of each credential and its owner, and the promotion checklist, so the client's team can move the proven workflow into production under its own change process. Engagements are fixed-scope, with deliverables and timelines agreed before work starts. Ongoing support, updates to changed API versions and continuous testing are available as a retainer, which suits teams whose vendor APIs change often.

