Directus (denkhaus) icon

Directus (denkhaus)

Consume Directus API

Overview

This n8n node is designed to interact with an "Authentication" resource, specifically performing the "List" operation. It retrieves a list of authentication entries (such as user credentials or tokens) from the connected service. This node is useful in scenarios where you need to fetch and process multiple authentication records, for example, when synchronizing users between systems or auditing access credentials.

Practical Example:

  • Fetching all API keys or user sessions from a backend system and processing them individually or as a batch in your workflow.

Properties

Name Type Meaning
Split Into Items Boolean Whether to output each element of an array as its own item. If enabled, each authentication entry will be emitted as a separate item; otherwise, all entries are returned in a single array.

Output

  • json: The output contains the list of authentication entries retrieved from the service.
    • If "Split Into Items" is enabled, each output item represents a single authentication entry.
    • If disabled, the output is a single item containing an array of authentication entries under a property (commonly named data or similar).

Note: No binary data is produced by this node.

Dependencies

  • May require connection details or API credentials for the target authentication service. These are typically configured in n8n's credentials section.
  • Relies on internal methods and router logic bundled within the node package.

Troubleshooting

  • Common Issues:
    • Missing or invalid credentials: Ensure that the correct API keys or authentication details are set up in n8n.
    • Service connectivity problems: Verify network access to the authentication service endpoint.
  • Error Messages:
    • "Authentication failed": Check your credentials configuration.
    • "No data found": There may be no authentication entries available; verify the source system.

Links and References

Discussion