Algolia icon

Algolia

Use Algolia in your n8n workflows

Clusters → Retrieve user ID

AI-generated

Overview

This node operation retrieves the user ID data stored in the mapping of Algolia clusters. It is useful in scenarios where you need to fetch information about a specific user ID within a multi-cluster setup in Algolia, such as for user management or auditing purposes.

Use Case Examples

  1. Retrieve user ID data for a user 'user1' to check their cluster mapping and associated data.
  2. Fetch user ID details to verify user assignments in a multi-cluster Algolia application.

Properties

Name Meaning
User ID Unique identifier of the user who makes the search request.

Output

JSON

  • userIdData - The data associated with the retrieved user ID from the cluster mapping.

Dependencies

  • Algolia API key credential

Troubleshooting

  • Ensure the User ID is correctly formatted and matches the expected pattern (alphanumeric, spaces, hyphens, asterisks, and periods).
  • Verify that the API key used has the necessary permissions to access cluster mapping data.
  • Check network connectivity and Algolia service availability if requests fail.
  • Common error: 'User ID not found' indicates the specified user ID does not exist in the cluster mapping.

Links

Discussion