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
Collection → Get
AI-generatedOverview
This node retrieves data from a specified collection in a Directus CMS instance. It is useful for scenarios where you need to fetch records from a particular collection, such as articles, users, or any custom data stored in Directus. For example, you might use this node to get a list of articles to display on a website or to process user data in an automation workflow.
Use Case Examples
- Fetch all records from the 'articles' collection to display on a blog.
- Retrieve user data from the 'users' collection for processing in a CRM integration.
Properties
| Name | Meaning |
|---|---|
| Collection Name | Unique name of the collection to retrieve data from |
Output
JSON
data- Array of records retrieved from the specified collection
Dependencies
- Directus CMS API access
Troubleshooting
- Ensure the collection name is correct and exists in the Directus instance.
- Verify that the API credentials have permission to read from the specified collection.
- Common errors include authentication failures and collection not found errors, which can be resolved by checking credentials and collection names respectively.
Links
- Directus API Documentation - Official documentation for Directus API endpoints and usage.