Actions10
Overview
The "Create Member" operation in the Dragon Family node allows users to add a new member to the Dragon Family system via its API. This is useful for applications that need to programmatically manage family members, such as family management tools, educational platforms, or reward systems that track and interact with family members.
Practical examples include:
- Adding a child or family member to a rewards tracking system.
- Registering new users in a family-oriented app.
- Automating member creation as part of onboarding workflows.
Properties
Name | Meaning |
---|---|
Base URL | The base URL for the Dragon Family API. Defaults to https://api.dragonfamily.com . |
User Token | Your API access token used for authentication. Sent as a Bearer token in the header. |
Output
The output JSON structure for this operation is not explicitly detailed in the provided source code. However, since it interacts with the Dragon Family API to create a member, the typical output would be a JSON object representing the newly created member's details, such as their ID, name, and other relevant attributes returned by the API.
No binary data output is indicated.
Dependencies
- Requires access to the Dragon Family API endpoint specified by the Base URL.
- Requires a valid API access token for authorization, sent as a Bearer token in the HTTP Authorization header.
- No additional external dependencies are indicated.
Troubleshooting
- Authentication errors: If the API token is missing, invalid, or expired, the API will reject requests. Ensure the token is correctly set and has appropriate permissions.
- Incorrect Base URL: Using an incorrect or unreachable Base URL will cause connection failures. Verify the URL is correct and accessible.
- API response errors: If required member data is missing or malformed, the API may return validation errors. Check the input data conforms to the API requirements.
- Empty or unexpected output: Since the source code does not show explicit handling of the create member response, ensure the API returns expected data and the node is configured properly.
Links and References
- Dragon Family API Documentation (assumed official API docs)
- n8n documentation on Creating Custom Nodes