Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
Server → Get GraphQL
AI-generatedOverview
This node executes a GraphQL query on a server resource. It is useful for retrieving data from a server that supports GraphQL by sending a query and receiving structured JSON data in response. Common scenarios include fetching specific data fields from a server's API or integrating server data into workflows.
Use Case Examples
- Fetching user details from a server using a GraphQL query.
- Retrieving a list of items with specific attributes from a server's GraphQL endpoint.
Output
JSON
data- The JSON response data returned from the GraphQL query execution on the server.
Dependencies
- Requires connection to a server that supports GraphQL queries, typically authenticated via an API key or token.
Troubleshooting
- Ensure the server URL and authentication credentials are correctly configured to avoid connection errors.
- Verify the GraphQL query syntax is correct to prevent query execution errors.
- Check server permissions to ensure the user has access to the requested data.
Links
- GraphQL Official Website - General information and documentation about GraphQL.
- n8n Directus Node Documentation - Documentation for the Directus node which may include GraphQL usage examples.