Response Complete
Response Complete (response-complete)
Section titled “Response Complete (response-complete)”Complete a synchronous response context created by an HTTP server or trigger input.
Http Workflow json
Minimal example
Section titled “Minimal example”output: response-complete: {}JSON
{ "output": { "response-complete": {} }}Contents
Section titled “Contents”Behavior
Section titled “Behavior”Behavior
| Field | Type | Required | Description |
|---|---|---|---|
on-missing-context |
On Missing Context |
Behavior when no synchronous response context is present. Allowed values: fail, ignore |
Context
Section titled “Context”Context
| Field | Type | Required | Description |
|---|---|---|---|
context-field |
field (string) |
Field containing the synchronous response context; defaults to synchronous_response on the event. Examples: data_field |
Response
Section titled “Response”Response
| Field | Type | Required | Description |
|---|---|---|---|
status-code |
number (integer) |
Static HTTP status code for the caller response. Examples: 42, 1.2e-10 |
|
status-code-field |
field (string) |
Field containing the HTTP status code for the caller response. Examples: data_field |
|
content-type |
string |
Static content type for the caller response. | |
content-type-field |
field (string) |
Field containing the content type for the caller response. Examples: data_field |
|
headers |
map (string) |
Static response headers for the caller response. | |
headers-field |
field (string) |
Field containing response headers as a JSON object. Examples: data_field |
|
body |
Body |
Body source for the caller response. Allowed values: event, literal, field |
Schema
Section titled “Schema”Body Options
Section titled “Body Options”| Option | Name | Type | Description |
|---|---|---|---|
event |
Event | map |
|
literal |
Literal | object |
|
field |
Field | object |
Body - Literal Fields
Section titled “Body - Literal Fields”| Field | Type | Required | Description |
|---|---|---|---|
value |
string |
✅ |
Body - Field Fields
Section titled “Body - Field Fields”| Field | Type | Required | Description |
|---|---|---|---|
field |
string |
✅ |
On Missing Context Options
Section titled “On Missing Context Options”| Value | Aliases | Name | Description |
|---|---|---|---|
fail |
fail | ||
ignore |
ignore |