Actions22
- User Actions
- User Note Actions
- User Action Actions
- User Relationship Actions
- Event Actions
- Event Session Actions
- Event RSVP Actions
- Event Attendance Actions
- User List Actions
- Pages Actions
User Relationship → Create
AI-generatedOverview
This node integrates with the Solidarity Tech API to manage user relationships. Specifically, the User Relationship - Create operation allows you to establish a relationship between two users by specifying their IDs and the type of relationship. This is useful in scenarios where you want to model connections or associations between users, such as friendships, family ties, mentorships, or organizational roles.
Practical examples:
- Creating a "mentor" relationship between a senior employee and a junior employee.
- Linking a parent user account to a child user account.
- Defining a "colleague" relationship between two users within an organization.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the primary user involved in the relationship. |
| Related User ID | The unique identifier of the related user to be connected with the primary user. |
| Relationship Type | The category or nature of the relationship (e.g., friend, family, colleague). |
Output
The output JSON contains the response from the Solidarity Tech API after creating the user relationship. Typically, this will include details of the newly created relationship object, such as its ID, the user IDs involved, the relationship type, timestamps, and any other metadata returned by the API.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating requests to the Solidarity Tech API.
- The node expects a valid base URL configured in the credentials for the Solidarity Tech API endpoint.
- Network connectivity to the Solidarity Tech API service.
Troubleshooting
- Missing or invalid credentials: If the API key or base URL is not set correctly, the node will fail to authenticate. Ensure that the API key credential is properly configured and active.
- Invalid User IDs: Providing non-existent or malformed user IDs may cause the API to return errors. Verify that both User ID and Related User ID are correct and exist in the system.
- Invalid Relationship Type: The relationship type must be recognized by the API. Use the "Get Types" operation on User Relationship resource to retrieve valid types.
- API URL issues: The base URL must be a valid HTTPS URL without trailing slashes. The node attempts to normalize and validate it but misconfiguration can cause failures.
- Rate limiting or network errors: The node logs detailed error messages including HTTP request failures. Check network connectivity and API rate limits if errors occur.
Links and References
- Solidarity Tech API Documentation (general reference for API endpoints)
- User Relationships API Endpoint (for details on relationship types and usage)
This summary is based solely on static analysis of the provided source code and property definitions.