Actions17
Query → Get Messages
AI-generatedSummary
Execute GraphQL queries or mutations against the Edworking API to retrieve messages using either predefined operations with optional variables or raw custom GraphQL queries with variables.
Inputs
- Mode (required) — Choose between 'Predefined Operation' to run documented query operations or 'Raw GraphQL' to provide a custom GraphQL query or mutation.
- Variables — JSON object string of variables to apply to the predefined operation query; leave empty if none (shown only in predefined mode).
- GraphQL Query (required) — Complete GraphQL query or mutation string to execute (shown only in raw mode).
- Operation Name — Optional operation name for the raw GraphQL query (shown only in raw mode).
- Variables (Raw) — JSON object string of variables for the raw GraphQL query (shown only in raw mode).
- Result Property Name — Optional name of the property to store the GraphQL data under in the output JSON; if empty, the data replaces the entire item JSON.
- Include Extensions — Boolean to include the GraphQL extensions object in the output under '_extensions'.
Output shape
a list of items, each containing the GraphQL data response as JSON in the item JSON, optionally nested under the specified property name; binary data from input items is preserved.
If errors occur in the GraphQL response, the node throws unless 'Continue on Fail' is enabled, in which case errors are returned in the JSON 'error' property. Variables must be valid JSON strings. The GraphQL endpoint URL and API token must be provided in node credentials.