Actions20
Overview
This node integrates with the Housecall Pro API to manage various resources related to service businesses, such as applications, customers, jobs, invoices, and more. Specifically, for the Application resource with the Update operation (which corresponds to enabling or disabling the application), it allows users to enable or disable the Housecall Pro application for a company.
Common scenarios where this node is beneficial include automating the activation or deactivation of the Housecall Pro application within workflows, such as onboarding new companies by enabling the app or suspending services by disabling it.
Practical example:
- Automatically enable the Housecall Pro application for a newly onboarded company.
- Disable the application when a company’s subscription expires or is paused.
Properties
Name | Meaning |
---|---|
Application Operation Routing | Internal routing configuration mapping operations to HTTP methods and API endpoints: - get-applications : GET /application - post-application-enable : POST /application/enable - post-application-disable : POST /application/disable |
Note: The provided properties JSON only includes hidden routing information for the Application resource operations. No user-facing input fields are defined specifically for the Update operation on Application in the given snippet.
Output
The node outputs JSON data representing the response from the Housecall Pro API after performing the requested operation. For the Application Update operation (enable/disable), the output typically contains confirmation of the action taken, such as success status or updated application state.
No binary data output is indicated in the source code.
Dependencies
- Requires an API key credential for authenticating requests to the Housecall Pro API.
- The base URL for API requests is
https://api.housecallpro.com
. - Proper configuration of the API authentication token in n8n credentials is necessary.
Troubleshooting
- Authentication errors: Ensure that the API key credential is correctly configured and has sufficient permissions.
- Invalid operation or resource: Verify that the selected resource is "Application" and the operation matches one of the supported ones (
enable
,disable
, orget
). - API endpoint errors: Network issues or incorrect API URLs can cause failures; check connectivity and API availability.
- Empty or missing required parameters: Although the Update operation for Application does not expose additional fields here, other operations might require specific inputs.
Links and References
- Housecall Pro API Documentation (for detailed API endpoints and request/response formats)
- n8n Documentation (for general guidance on using custom nodes and credentials)