Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Read Hyperflow and action input contracts

Read Hyperflow and action inputs, typed defaults and readable flow data before execution.

A Hyperflow’s run inputs and an application action’s configuration inputs are separate contracts. Read the relevant contract before composing values. API and tool identifiers retain the legacy term Autom.

Read an existing Hyperflow

automs_get requires an autom_id returned by automs_search. Its default include_flow value is false.

The automs_get response example contains:

Object or field
Observed fields

Identity

autom_id, name, description, status, type

version

id, type

group

id, name; both can be null

trigger

mode, type, application, credential_name

execution

queue_enabled, target_agent_name

owner

created_by_fullname, updated_by_fullname

Dates

created_at, updated_at

Inputs

input_contract

After a successful read, input_contract: [] means declared empty inputs. A non-empty array defines the available inputs. inputs_note without input_contract means the inputs are unknown.

Interpret a non-empty run input contract

The non-empty input example uses these fields:

Field
Observed type
How to interpret it

name

string

Input key used in the run input object.

display_name

string

Display label; an empty string was possible.

type

string

Declared input type; the sampled entries used array.

description

string

User-provided guidance; it can be empty.

is_masked

boolean

Do not infer or reveal masked values.

default

string

A declared default representation, not necessarily a value already decoded into the declared type.

The array inputs had default: "[]": a string containing a JSON array representation. Do not copy that string into an array input merely because it appears in the default field. Resolve the intended typed value from the contract and the user's requirements.

This Hyperflow input example has no is_required field. Its absence does not mark an input as required or optional. Resolve missing requirements before execution rather than copying catalogue action rules.

Request the readable flow representation

With include_flow: true, the response added:

Field
Observed type
Purpose

flow_outline

string

Readable outline.

flow_summary

string

Summary of the flow.

flow_stats

object

step_count, branch_count, error_handling_steps, and systems.

flow_tree

array

Hierarchical records with caption, and where present kind and nested children.

The flow_tree example is structured data, not a Mermaid string. It is a readable representation without raw editable flow JSON or field values.

Read a catalogue action

Discover an action with library_search_actions, then pass its returned action_ref to library_get_action.

The Xurrent Get Any Object with ID example returns action_ref, action_label, library_label, library_name and inputs. An input entry looks like this:

This is catalogue metadata, not an action invocation. In this example, object and object_id are required inputs.

For actions, inputs: [] means declared empty inputs after a successful read. inputs_note without inputs means the contract was not established.

Confirm before execution

Reading flow_tree does not create, edit or deploy a Hyperflow or Service definition. For authoring, use the separate automs_get_flow / automs_edit_flow contracts and the supported Service tools on the active connection.

Use the automs_run contract and selected Hyperflow’s trigger to determine execution behavior. The examples on this page cover read operations only.

Preserve structured values

Keep objects, arrays, numbers and booleans typed across action boundaries. Missing, null, empty string, zero and false are distinct states. Read an actual output schema or a permitted redacted sample before selecting a child field; an output labelled object alone does not establish its properties. A declared input does not automatically mean a human must enter it: see deployment input resolution.

Conditional fields and returned results

Input metadata must distinguish required, optional, conditional and defaulted fields. Do not assume that an omitted response status code defaults to 200 unless the installed action contract establishes it. Preserve the configured result, target variable and actual Stop response separately from an Example Response. Missing metadata is an authoring gap, not permission to fill plausible values.

For approval and governance, data supplied by a requester is not independent evidence that policy was satisfied. Resolve the approval record and verify the authoritative decision and identities through the configured integration.

Multipart file uploads

For RESTFUL-WEB-SERVICE::POST-METHOD, set contentType to form-data. In the bodyParams file row, use type: file and set subType to base64 when the value contains Base64-encoded file content, or filePath when it points to a file accessible to the agent. In the tested action contract, preview accepted base64 and rejected an unknown subtype at the file row. Preview validates the configuration. For a signed upload, confirm the upload’s HTTP success status and the stored object key before attaching it to a Xurrent request. If the upload result is ambiguous, check the existing operation and storage record before sending another upload. Verify the final attachment by opening it from the target request.

Check the filename and file contents separately. The multipart row’s name identifies the form field. Compare the filename displayed on the destination record with the original filename, including its extension. To verify byte identity, download the attachment and compare its SHA-256 digest with the source file’s digest.

To request a filename for a type: file part, set the optional fileName on that row. It accepts a literal such as report.pdf or a reference such as ##sourceFilename##. A saved binding confirms the requested name. The storage key and the attachment name shown by the destination can differ. Read the destination attachment to verify which name was delivered.

Last updated

Was this helpful?