Actions17
Query → Get Chat
AI-generatedSummary
Execute a GraphQL query to fetch chat data from the Edworking API, using either a predefined operation or a custom raw GraphQL query string, with optional variables.
Inputs
- Mode (required) — Choose between running a predefined GraphQL query or mutation with optional variables, or providing a custom raw GraphQL query or mutation string.
- Variables — Provide variables as a JSON object for the selected predefined operation; ignored if using raw GraphQL mode.
- GraphQL Query (required) — Provide a complete custom GraphQL query or mutation string when using raw GraphQL mode.
- Operation Name — Optionally specify the operation name for the raw GraphQL query.
- Variables (Raw) — Provide variables as a JSON object for the raw GraphQL query.
- Result Property Name — Specify a property name under which to store the GraphQL response data; otherwise, replace the item JSON with the GraphQL data.
- Include Extensions — Choose whether to include the GraphQL extensions object in the output under the _extensions property.
Output shape
a list of items each containing JSON with the GraphQL response data; optionally under a user-defined property or replacing the item JSON; includes original binary data if present in input
Supports executing queries either via predefined documented operations or fully custom raw GraphQL strings with variables. On error, the node throws by default unless 'continue on fail' is enabled. The output can optionally include the GraphQL extensions object under the '_extensions' property. Input items are processed individually, producing one output item per input.
Examples
Example 1: Fetch chat data using a predefined query with specific variables
Set Mode to 'Predefined Operation', select the chat retrieval operation, and provide variables in JSON format.
Example 2: Fetch chat data using a custom raw GraphQL query
Set Mode to 'Raw GraphQL', enter the full GraphQL query string, optionally provide an operation name and variables as JSON.