Actions524
- AI Helper Actions
- Tool Actions
- API Threshold Actions
- Appointment Actions
- Billing Code Actions
- Billing Items Actions
- Change Request Link Actions
- Checklist Library Actions
- Checklist Library Item Actions
- Classification Icon Actions
- Company Actions
- Company Alert Actions
- Company Location Actions
- Company Note Actions
- Company Webhook Actions
- Company Site Configuration Actions
- Configuration Item Actions
- Configuration Item Billing Product Association Actions
- Configuration Item Category Actions
- Configuration Item Category UDF Association Actions
- Configuration Item DNS Record Actions
- Configuration Item Note Actions
- Configuration Item Related Item Actions
- Configuration Item SSL Subject Alternative Name Actions
- Configuration Item Type Actions
- Configuration Item Webhook Actions
- Contact Actions
- Contact Webhook Actions
- Contact Groups Actions
- Contact Group Contacts Actions
- Contract Actions
- Contract Block Actions
- Contract Block Hour Factor Actions
- Contract Billing Rule Actions
- Contract Charge Actions
- Contract Exclusion Billing Code Actions
- Contract Exclusion Role Actions
- Contract Exclusion Sets Actions
- Contract Exclusion Set Excluded Role Actions
- Contract Exclusion Set Excluded Work Type Actions
- Contract Milestone Actions
- Contract Note Actions
- Contract Rate Actions
- Contract Role Costs Actions
- Contract Retainer Actions
- Contract Service Actions
- Contract Service Adjustment Actions
- Contract Service Bundle Adjustment Actions
- Contract Service Bundle Actions
- Contract Service Bundle Unit Actions
- Contract Ticket Purchase Actions
- Department Actions
- Project Phase Actions
- Quote Item Actions
- Quote Location Actions
- Quote Template Actions
- Resource Actions
- Resource Role Actions
- Resource Role Queue Actions
- Search Filter Actions
- Service Actions
- Service Call Actions
- Subscription Actions
- Subscription Period Actions
- Ticket Category Actions
- Ticket Category Field Default Actions
- Ticket History Actions
- Ticket Note Actions
Contract → Create
AI-generatedOverview
This node operation allows users to create a new contract in Kaseya's Autotask PSA system. It is useful for automating contract management workflows, such as adding new service agreements or client contracts programmatically. For example, a business can use this node to automatically create contracts when onboarding new clients or when integrating contract creation into a larger business process.
Use Case Examples
- Automatically create a new contract when a sales deal is closed.
- Generate contracts based on predefined templates and client data.
Properties
| Name | Meaning |
|---|---|
| Dry Run | Whether to return a request preview instead of executing the operation. Useful for testing and validation. When enabled, no API call is made; instead, it returns the request details that would be sent, making no changes to Autotask. |
| Fields | Fields to map for the contract creation. This property allows defining or mapping the contract fields to be sent in the create request. It supports auto-mapping and multi-key matching to facilitate field population. |
Output
JSON
id- The unique identifier of the created contract.contractNumber- The contract number assigned by Autotask.name- The name of the contract.status- The status of the contract after creation.startDate- The start date of the contract.endDate- The end date of the contract.billingType- The billing type associated with the contract.details- Additional details or metadata about the created contract.
Dependencies
- An API key credential for Autotask PSA REST API authentication.
Troubleshooting
- If the node returns an error about missing or invalid fields, verify that all required contract fields are correctly mapped in the 'Fields' property.
- If the 'Dry Run' option is enabled, no contract will be created; disable it to perform actual creation.
- Authentication errors indicate issues with the provided API credentials; ensure the API key and integration code are valid and have sufficient permissions.
- Network or API rate limit errors may occur; check API usage limits and retry after some time.
Links
- Autotask PSA REST API Documentation - Official API documentation for Autotask PSA, including contract management endpoints.
- n8n Autotask Node GitHub Repository - Source code and additional information about the Autotask node for n8n.