Search K
Appearance
Appearance
The Data Return node returns various types of data outputs from a workflow for use in downstream systems, user interfaces, or integrations.
Use this node to define and return specific data types such as widgets, documents, files, JSON strings, or search results to consuming systems, user interfaces, or subsequent nodes requiring structured output.
Field Label | Input Type | Description |
---|---|---|
Return Object Type | Text | Specifies the type of object to return. Supported values are: - Search Widget - Document Action - Search Results - File Return - Json Return - AEC Model Ids . |
Widget Html (conditional) | Text | Required if Return Object Type is Search Widget . The HTML string for the widget. |
Action Return (conditional) | Text | Required if Return Object Type is Document Action . The action string to return. |
Search Results (conditional) | Text | Required if Return Object Type is Search Results . Must be a JSON array of searchResult objects. |
Results (conditional) | Text | Required if Return Object Type is File Return or Json Return . For File Return , this is the file path to return. For Json Return , this is the JSON string to return. |
AEC Model Ids (conditional) | Text | Required if Return Object Type is AEC Model Ids . The model IDs string to return. |
Message Return (optional) | Text | A message to return alongside the data output for workflow logging or user feedback. |
Output Variable | Description |
---|---|
ReturnData | The returned data object, whose type depends on Return Object Type . |
DataReturnType | A string indicating the type of data returned (e.g. widget , documentaction , searchresult , file , json ). |
This node:
Return Object Type
.ReturnData
and DataReturnType
in taskParameters.data
for output to consuming systems.Message Return
.Type | Description |
---|---|
Search Widget | Returns a string of widget HTML to embed in UI. |
Document Action | Returns a string representing a document-related action. |
Search Results | Returns a list of searchResult objects for search-based outputs. |
File Return | Returns a file as a byte array read from the specified path. |
Json Return | Returns a JSON string result. |
AEC Model Ids | Returns model ID string data (usage context to be confirmed). |
✅ Return a generated search widget HTML to display results in a user dashboard.
✅ Return a file as bytes for direct download by users.
✅ Return structured JSON for consumption by an external API or next workflow node.
✅ Return search results for processing by reporting or display workflows.
Return Object Type
.