Actions11
Overview
This node integrates with the Memberspot API to manage user-related data and actions. Specifically, the "Find by Email" operation under the "User" resource allows you to retrieve detailed information about a user by providing their email address. This is useful in scenarios where you need to look up user profiles, verify user existence, or fetch user details for further processing in your workflow.
Practical examples include:
- Fetching user details before granting access to a course or offer.
- Verifying if a user exists in the system before sending notifications.
- Retrieving user data to synchronize with other systems.
Properties
| Name | Meaning |
|---|---|
| The email address of the user to find. Must be a valid email string (e.g., name@email.com). |
Output
The output is a JSON object containing the user data returned from the Memberspot API for the specified email. The structure depends on the API response but typically includes user profile details such as name, email, offers, progress, and other relevant user attributes.
No binary data is output by this operation.
Example output snippet (conceptual):
{
"id": "user-id",
"email": "name@email.com",
"firstname": "John",
"lastname": "Doe",
"offers": [...],
"customProperties": {...},
...
}
Dependencies
- Requires an API key credential for authenticating with the Memberspot API.
- The node uses the base URL configured in the credential to make HTTP requests.
- No additional external dependencies are required beyond the Memberspot API access.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing an invalid or non-existent email will result in no user found or an error response.
- Network connectivity issues can prevent successful API calls.
Error messages:
- Errors thrown by the node will include the API error message, e.g., "User not found" or "Unauthorized".
- To resolve, ensure the email is correct, the API key is valid, and the Memberspot service is reachable.
Links and References
- Memberspot API Documentation (general reference as per code comment)
- n8n Expressions Documentation (for using expressions in properties)