Generating Shuffle apps from API documentation

Shuffle can turn a vendor's OpenAPI or Swagger file into an app without code, but the generated actions and authentication need review before any workflow depends on them. This page covers when generation saves time and when a hand-built Python app is the safer choice.

On this page

Generating Shuffle apps from API documentation saves time when the vendor publishes a clean spec

A security team needs an integration that the Shuffle catalog does not offer, and the vendor has published API documentation or a Swagger file. Shuffle's App Creator builds apps from OpenAPI specifications, so a clean, complete definition can turn into a working app in far less time than writing one by hand. The generated app is a starting point, not a finished integration. Each action, parameter and authentication method it produces is only as accurate as the specification it was built from, and nothing in the generator checks whether the vendor's documentation matches how the API really behaves.

Shuffle apps run as versioned Docker containers, so the generated app is packaged, versioned and executed like any other app in your environment. That makes the review step important. Before any workflow calls it, confirm that each action's endpoint, HTTP method and required fields match the vendor's current API, that optional parameters are not marked as required, and that the authentication type (API key, bearer token or OAuth2) matches what the vendor actually accepts. Check that saved credentials are entered through Shuffle's authentication settings rather than hardcoded in action parameters, and test each action against a non-production tenant of the vendor's product.

Ask the vendor whether the specification is maintained alongside the API and which version it describes, and confirm the rate limits, pagination and error formats that the generated actions will need to handle. Assign an owner for the app who will review it again whenever the vendor changes its API. If the spec is incomplete, outdated or missing key endpoints, expect manual edits or a hand-built Python app to take most of the effort, and plan that review time before the workflow is promised to a SOC.

From vendor spec to a reviewed app in production

The path starts with the vendor's OpenAPI or Swagger file and moves into Shuffle's App Creator, where the generator produces the actions. Before anything runs, the team reviews the actions and the authentication settings against the vendor's documentation. The generated app is then tested against a non-production tenant, and only a version that passes is promoted. If the spec is incomplete or the auth model does not fit, the decision point sends the work to a hand-built Python app instead of forcing the generator.

Decision path from a vendor spec to a promoted Shuffle app, with fallback to a Python app.

When generation fits and when a hand-built app is safer

When the vendor publishes an accurate OpenAPI specification with standard authentication, the App Creator is usually the faster and lower-risk route. Shuffle builds apps from OpenAPI definitions and runs each app as a versioned Docker container, so the generated actions map directly to endpoints the vendor already documents. The main work shifts to review: confirming that each operation, parameter and response schema matches the live API, and that the auth type is the one the vendor actually enforces.

  • Operation coverage: Generate only the endpoints your playbooks need, and check that each one returns the fields your workflows read.
  • Auth type: Confirm whether the API uses an API key, bearer token or OAuth2 and that the spec declares it, not just a general example.
  • Versioning: Record the spec version and the vendor API version in the app so later changes are traceable.
  • Error responses: Test how the action reports 4xx and 5xx responses, since workflows branch on them.
  • Rate limits: Check whether the vendor's limits need throttling logic that a generated action will not provide.

Before you rely on a generated app, run each action against a test tenant of the vendor and compare the returned fields with the spec.

How to review generated actions and auth before a workflow uses them

This sequence checks that every generated action matches the vendor's real API and that its authentication is correct and stored safely, so the app is trustworthy before any playbook depends on it. The output is a signed-off app with a record of what was verified and what still needs a fix.

  1. Confirm each action maps to a vendor endpoint

    Open the generated app in the App Creator and list every action beside the vendor documentation it came from. For each action, find the matching path in the vendor's API reference, and confirm the endpoint exists, is still current, and does what the action name says. Remove or rename any action that has no clear source endpoint, including duplicates the generator created from similar paths. Done when every remaining action traces to one documented endpoint and you have a written list of anything removed.

  2. Check HTTP methods and required parameters

    For each remaining action, compare the HTTP method and URL path with the vendor reference, then compare each parameter's location (path, query, header or body) and whether it is required. Pay attention to methods that change data, such as POST, PUT, PATCH and DELETE, because a wrong method can write to the wrong object or fail silently. Confirm that required parameters are marked required in the app and that optional ones are not forced into every call. Done when a reviewer has signed off on each method and parameter set against the vendor reference.

  3. Verify request and response field names

    Check that the body field names the generator produced match the vendor's schema exactly, including case, nesting and array wrapping. Then compare the response schema in the app with a real response from the vendor's sandbox or test tenant, since published documentation sometimes differs from live behavior. Note any field the generator renamed or dropped, because downstream playbooks will reference those names through variables. Done when a sample response from a test account maps cleanly to the fields the app exposes.

  4. Confirm the authentication type and scopes

    Identify the authentication scheme the vendor documents, such as an API key in a header, a bearer token or OAuth2, and confirm the app uses the same scheme and the same header or parameter name. For OAuth2 or token-based access, list the scopes the vendor requires for each action and confirm the account or service principal you will use has only those scopes. Write down which scopes are needed for read-only actions and which are needed for changes, because that split drives the test plan. Done when the auth configuration matches the vendor's documented scheme and the scope list is recorded for the reviewer.

  5. Test read-only actions first

    Run the actions that only read data against a test or non-production tenant, starting with one action at a time from the Shuffle workflow test or the app's test function. Check the status code, the returned fields and the error message for a deliberately invalid input, so you know how failures will appear in a playbook. Keep write actions disabled until the read path works. Done when each read-only action returns expected data and a predictable error, and the results are saved with the review record.

  6. Test write actions in an isolated scope

    Only after read-only tests pass, run write actions against a disposable object in a test tenant, such as a test ticket or a test user, and confirm the change appears in the vendor console. Then run the matching undo or cleanup action, if the vendor provides one, and confirm the object returns to its prior state. If the vendor has no undo, record that fact so playbook designers add approval steps before production use. Done when each write action has a verified effect, a cleanup path or a documented gap.

  7. Check that credentials are stored encrypted

    Create the authentication in Shuffle, save it, and confirm it appears as a reusable authentication rather than as a value typed into each action or workflow. Then search the exported workflow and app definitions for the secret value to confirm it is not present in plain text. On a self-hosted instance, confirm that the SHUFFLE_ENCRYPTION_MODIFIER value is set, recorded in your secrets management system and backed up, since losing or changing it breaks saved authentications. Done when the credential is referenced by name only, no plain-text secret appears in exports, and the encryption key is documented with an owner.

Risks a generated app can hide

A generator turns every operation in a specification into an action, and it copies whatever auth and schema the document declares. The risks below are the ones that pass a quick import unnoticed. Each card names the review or test step that catches it before a workflow runs against a production system.

Destructive endpoints exposed by default

Generators usually create an action for every operation, including DELETE, reset and bulk update endpoints that a playbook should never call automatically. A single misplaced action in a loop can remove records or disable accounts at scale. Before first use, list every generated action with its HTTP method and remove or disable the ones your playbooks do not need. Mark the remaining write actions for a separate approval step in your workflow design.

Overly broad credential scopes

The specification may declare an OAuth2 scope or API key that grants far more than the actions you chose. The app then inherits that breadth, and every workflow using the saved authentication inherits it too. Ask the vendor for the narrowest token or service account that covers your selected actions, and test each action with that credential. Confirm that a read-only playbook cannot perform a write through the same authentication.

Vendor error bodies not handled

Many APIs return HTTP 200 with an error payload, or return error formats that differ from the schema in the specification. A generated action may report success while the vendor rejected the request, and downstream steps then act on empty data. Trigger each action with a deliberately invalid input and a revoked credential, then inspect the execution result. Add a validation check on the output fields your workflow depends on.

Pagination and rate limits not modeled

A generated action returns one page and knows nothing about the vendor's rate limit headers. A workflow that loops over a large list can silently process only the first page, or trigger throttling that blocks the rest of your automation. Read the vendor's pagination and rate limit documentation, then test a query that returns more than one page. Confirm how the workflow handles a throttled response and whether retries back off.

Spec drift after a vendor update

The specification you imported becomes stale when the vendor adds fields, renames parameters or retires endpoints. The app keeps working for old actions while new behavior fails in ways that look like workflow bugs. Record the specification version and its source in your app notes, and rerun your test workflows after each vendor release. Diff the new specification against the imported one before you regenerate the app.

Secrets exposed in logs

Generated apps pass authentication values as request headers or query parameters, and execution logs can record them in full. Anyone with access to workflow history or debug output may then read a live token. Run one test execution with a non-production credential, then search the execution log and the app container output for that value. Confirm that Shuffle stores the saved authentication encrypted in OpenSearch and that your debug access is limited to the people who need it.

Shuffle configuration docs

Generator inputs and settings to decide before import

This table compares the inputs and settings you choose before importing a vendor definition into Shuffle's App Creator. Read each row as a decision: when the option fits, and what to confirm in the App Creator of the Shuffle version you run. The main takeaway is that auth, endpoint scope and naming are cheap to settle now and expensive to fix after workflows depend on the generated actions.

DecisionWhen it fitsWhat to confirm in the App Creator
Source format (OpenAPI file, Swagger file or hand-written definition)Use the vendor's OpenAPI file when one is published. Use a hand-written definition when the vendor has no spec or the published one is incomplete.Confirm the App Creator accepts the file version and format you have, and that the import completes without dropped paths or schemas.
Vendor spec versionPrefer the version your API currently serves. Older specs often describe endpoints the vendor has retired.Compare the spec's server URL and version field with the live API. Check a sample of endpoints against vendor release notes.
Auth method declared in the specUse the declared scheme when it matches what the vendor enforces, such as API key, bearer token or OAuth2. Adjust it when the spec omits or misstates it.Confirm the generated authentication entry matches the scheme, and that secrets are stored as encrypted app credentials, not typed into action parameters.
Endpoints to includeImport only the endpoints your playbooks need. A smaller app is easier to review, test and keep current.Check which operations were imported, and confirm write or delete endpoints are deliberately included, not picked up by default.
Naming conventionsName actions after the business task, such as getting an alert by ID, so workflow authors can read them without the vendor docs.Confirm action names and descriptions are unique within the app, and that renamed actions do not break existing workflow references.
App versioningSet a clear version for each import so you can roll back and compare behavior after the vendor changes its API.Confirm the version label on the built app, and that existing workflows point to the version you intend to run.

Protecting credentials and keeping generated apps supported

Generated apps are only as safe as the credentials they hold, and Shuffle protects those credentials in one specific way. Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256, using the SHUFFLE_ENCRYPTION_MODIFIER value from your configuration. The generator does not change that path: an app built from a vendor's Swagger file still stores its authentication through Shuffle's encrypted store, so the generated app should never be edited to hard-code a token, read a key from a file, or log a secret for testing. Treat SHUFFLE_ENCRYPTION_MODIFIER as a secret you cannot lose. Store it in your secrets manager, back it up alongside your OpenSearch data, and record it in your change process before the first app is authenticated. Losing or changing the value breaks every saved app authentication, and the configuration docs warn that recovery is not a simple re-entry exercise, so confirm the exact recovery steps for your version with Shuffle before you depend on them.

Keep every generated app under version control and tie each version to the OpenAPI or Swagger file it came from. The generated definition is a snapshot of the vendor's API at one point in time, so store the source document, the reviewed action list, the authentication settings and the app version as one reviewable unit. Vendors change endpoints, parameters and authentication schemes, and a generated app will keep calling the old contract until someone regenerates or edits it. Schedule a review whenever the vendor publishes an API change, deprecates an endpoint or rotates an authentication method, and rerun your workflow tests against the new version before promoting it. Shuffle documents app versions, so confirm with your Shuffle release notes and the apps documentation how older app versions remain available to existing workflows during a change.

Restrict who can create and import apps, because a generated app runs with whatever network reach and credentials its workflows give it. Limit app creation and editing to a small platform group, and keep workflow authors, who can use apps, separate where your process allows. Review who holds admin rights and how roles are assigned through your single sign-on setup, since those settings decide who can reach the App Creator at all. Before rollout, ask your team to confirm which roles can create, edit, publish and delete apps in your Shuffle version, and to test those permissions with a non-admin account. Document the approval step for each new app: who reviewed the definition, who confirmed the authentication scope, and who approved the first production run. That record is what an auditor or security reviewer will ask for when they look at automated access to your systems.

Limits to confirm in your environment

The App Creator is fast for plain REST APIs, but its limits depend on your exact Shuffle release and the API you are wrapping. Each item below is a question to answer with the Shuffle documentation or a test import before you commit a vendor API to a generated app.

OpenAPI versions accepted

Confirm which OpenAPI specification versions the App Creator in your release will import, and whether it accepts both JSON and YAML definitions. Vendor files are often generated by tools that emit newer or older versions than the one you expect. Import the exact file you plan to use, not a cleaned-up copy, and note any warnings or dropped paths. A file that imports partially can produce an app that looks complete but is missing actions.

Shuffle apps docs

Authentication schemes supported

Confirm which security schemes the generator maps to app authentication, such as API keys in headers or query strings, HTTP basic, bearer tokens and OAuth2 flows. Check whether a scheme that your vendor requires, such as a token exchange or a signed request, is mapped at all or must be configured by hand afterward. Verify where the credential is stored and that it is encrypted at rest with the platform's encryption setting before you connect production accounts.

File uploads and streaming

Confirm whether the generated actions can send multipart or binary file uploads, and whether they can receive streamed or chunked responses. Many APIs for ticket attachments, evidence collection or report export depend on these. If the generator cannot model them, plan a hand-built Python app for those endpoints and keep the generated app for simple JSON calls.

Non-JSON response handling

Confirm how generated actions handle plain text, XML, CSV, empty bodies and error responses that carry HTML. Test each content type your playbooks will rely on, and check whether the action reports failure correctly when the vendor returns a success status with an error in the body. Workflows that assume JSON fields can stall or pass empty values downstream, so decide early how each non-JSON case is parsed.

Hot loading in self-hosted installs

Confirm whether a generated app can be loaded into your self-hosted Shuffle without a restart, and which steps are required after the app changes. Hot loading of in-house Python apps is a separate procedure, so check whether your generated apps follow the same path in your release. Record the reload steps in your change runbook and confirm that workflows referencing the app pick up the new version.

Shuffle releases

Behavior on your release

Confirm how the App Creator behaves on the exact Shuffle version you run, because generator behavior can change between releases. Shuffle v2.3.0 is the most recent release in the supplied facts, and the docs recommend pinning versions for stable use. Repeat your test import after every upgrade, and keep a copy of the generated app definition so a change in behavior is visible in version control.

Questions buyers ask before generating Shuffle apps

How much effort does generating a Shuffle app save compared with building one by hand?

Generation saves the most effort on the mechanical part of the work: turning a clean, complete API definition into actions, parameters and an authentication block. The saving shrinks when the vendor documentation is incomplete, when the API uses unusual pagination or response shapes, or when the workflows need custom logic that a generated action cannot express. Drivers to weigh are the number of endpoints you will actually call, how much of the spec you must correct by hand, and how much custom Python logic you will need around the calls. Ask for a count of the endpoints in scope before you compare options, because a generated app that exposes dozens of actions you never use still needs review.

Can our own team review a generated Shuffle app without outside help?

Yes, if the team has someone who understands the vendor API, the authentication model and how the app's actions will be called from workflows. The review checks each generated action against the vendor documentation, confirms parameter names, types and required fields, and verifies that the authentication settings match what the vendor requires. It also checks that secrets are stored as credentials in Shuffle rather than typed into workflow fields. Teams without an engineer who can read an OpenAPI file and test calls against a sandbox usually find the review takes longer and misses more issues, so it is worth assessing that skill before deciding.

What does the vendor need to provide before generation and testing can start?

You need the API definition in a current form, a sandbox or test tenant with credentials scoped to the actions you plan to run, and realistic test data that exercises each action without touching production records. The definition should cover the endpoints, request and response schemas, and the authentication method. Ask the vendor which API version the definition describes, whether the sandbox behaves like production, and what rate limits apply to test calls. Missing sandbox access is the most common reason testing stalls, so confirm it in writing before the work is scheduled.

How do the review and testing time depend on the size of the API?

The main drivers are the number of endpoints in scope, how many of them carry request bodies or nested responses, and how complex the authentication is. A single API key on a small set of read-only calls is quick to verify. OAuth2 flows with token refresh, several scopes, or endpoints that return paginated results need more test cases, because each path must be exercised in the sandbox. Workflow testing adds time on top of action testing. Ask for the work to be scoped by endpoint count and authentication type, and ask for the test cases to be listed so you can see what is covered.

Do we need a partner to generate and review Shuffle apps?

Not always. A partner is most useful when the team lacks time, when several vendor APIs must be covered at once, or when the apps will support regulated workflows that need documented review evidence. Teams that already run Shuffle and have an engineer comfortable with APIs can often handle a single, well-documented API alone. DeployOpen plans, builds, tests and documents self-hosted Shuffle work inside the client's infrastructure under a fixed-scope written agreement, so the decision can be made against a defined list of endpoints and deliverables.

What happens to our Shuffle app when the vendor changes its API?

A generated app is tied to the definition it was built from, so a vendor change to endpoints, parameters, authentication or response formats can break actions silently until a workflow fails. Plan for a regeneration or manual edit each time the vendor publishes a breaking change, and keep the previous app version available for rollback. Subscribe to the vendor's change notices, pin the definition version you built against, and retest the actions your workflows depend on. Ask any partner whether ongoing testing and version updates are included or priced separately, because that determines who carries this recurring work.

How DeployOpen scopes and delivers Shuffle app generation work

DeployOpen starts every Shuffle app generation engagement with a written, fixed scope that names the target vendor's endpoints, the authentication method the vendor uses, the non-production Shuffle environment where testing will run, and the acceptance checks that decide when the app is done. Before any generation begins, the team agrees which operations the app must cover, which ones are explicitly excluded, and who at the client approves the authentication design. Pricing and timelines follow from that written scope, so the scope is the document to review hardest. Ask for the endpoint list, the credential type and the acceptance criteria in writing before signing.

Generation is only the first pass. DeployOpen reviews every generated action against the vendor documentation, checking that each parameters block, request body and response mapping matches the real API, and that the authentication configuration uses the agreed scheme with credentials stored in Shuffle's encrypted app authentication rather than typed into workflow fields. Each action is then exercised against a non-production tenant of the vendor's service, with the test results recorded so the client can see which actions were verified and which were excluded. Changes that the review finds are fixed in the generated definition and retested, not patched in individual workflows.

Delivery is a versioned app package, the generated definition and a short handover document covering the actions, the authentication setup, the test evidence and the known limits of the generated app. Where the client wants ongoing coverage, DeployOpen offers an optional retainer for upgrades when the vendor changes its API, which typically recurs and is priced separately from the one-time build. Clients should confirm the retainer scope, response expectations and who owns the vendor relationship before the build starts, since those terms determine whether a later API change is a small update or a new project.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.