Actions17
Query → Get Files
AI-generatedSummary
Execute a GraphQL query or mutation against the Edworking API to retrieve files, either using a predefined operation with optional variables or a custom raw GraphQL query with variables.
Inputs
- Mode (required) — Select either 'Predefined Operation' to run a documented query or mutation with optional variables, or 'Raw GraphQL' to provide a custom GraphQL query or mutation string.
- Variables — JSON object specifying variables for the predefined operation; leave empty if none. Only shown if 'Predefined Operation' is selected.
- GraphQL Query (required) — Complete GraphQL query or mutation string to execute when 'Raw GraphQL' mode is selected.
- Operation Name — Optional name of the GraphQL operation to send alongside the query, applicable only in 'Raw GraphQL' mode.
- Variables (Raw) — JSON object specifying variables for the raw GraphQL query or mutation, only applicable in 'Raw GraphQL' mode.
- Result Property Name — If set, the GraphQL response data will be stored under this property on the item JSON; otherwise, the entire item JSON is replaced with the GraphQL data object.
- Include Extensions — If enabled, includes the GraphQL extensions object from the response under the '_extensions' property in the output JSON.
Output shape
a list of items matching the input length with each item's JSON containing the GraphQL data response; includes binary data from input if present
Errors from the GraphQL API cause node execution to fail unless 'Continue On Fail' is enabled. When a 'Result Property Name' is specified, the existing JSON is preserved and data nested under that property; otherwise, it is replaced. The '_extensions' property is added only if 'Include Extensions' is true and extensions are present in the response.
Examples
Example 1: Using a predefined query operation with variables
Select Mode as 'Predefined Operation', pick a documented query from the operation list under 'Query' resource, provide any required JSON variables, optionally specify a result property name, and run the node to get file data from Edworking.
Example 2: Running a custom GraphQL query
Select Mode as 'Raw GraphQL', enter a complete GraphQL query string, optionally set the operation name and provide variables in JSON, then execute to get the response data from Edworking files.