Actions104
- Custom Field Actions
- Custom Field Block Actions
- Custom Field Type Actions
- Customer Actions
- Deal Actions
- Lead Actions
- Meeting Actions
- Meeting Room Actions
- Meeting Type Actions
- Organization Actions
- Pipeline Actions
- Prospect Actions
- Staff Actions
- Task Actions
- Ticket Actions
- Treatment Actions
- Treatment Type Actions
- Workspace Actions
Treatment Type → Create
AI-generatedOverview
This node interacts with the Magnet Customer API to create a new Treatment Type. It is useful in scenarios where users want to automate the addition of treatment types in their CRM or customer management system, such as adding new categories of treatments offered by a healthcare or wellness business.
Use Case Examples
- Creating a new treatment type named 'Physical Therapy' to categorize related treatments.
- Adding a new treatment type 'Massage Therapy' to the system for better organization and reporting.
Properties
| Name | Meaning |
|---|---|
| Authentication | Selects the authentication method to use for the API request, either API Token or OAuth2. |
| Name | The name of the treatment type to be created. This is a required string input. |
Output
JSON
_id- The unique identifier of the created treatment type.name- The name of the created treatment type.createdAt- Timestamp when the treatment type was created.updatedAt- Timestamp when the treatment type was last updated.
Dependencies
- Magnet Customer API
Troubleshooting
- Ensure the API credentials (API Token or OAuth2) are correctly configured and valid.
- Verify that the 'Name' field is provided and is not empty, as it is required to create a treatment type.
- Check network connectivity to the Magnet Customer API endpoint.
- If the API returns an error, review the error message for details such as permission issues or invalid data formats.
Links
- Magnet Customer API - Treatment Types Create Endpoint - Official API documentation for creating treatment types in Magnet Customer.