Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node integrates with the Autotask REST API to perform operations on Contract Blocks, specifically allowing the creation of new contract blocks within Autotask. It is useful for automating contract management workflows, such as adding new contract blocks based on dynamic data inputs. For example, a user can create a contract block with specific fields mapped from previous workflow steps, enabling seamless contract updates without manual entry.

Properties

Name Meaning
Fields Defines the fields and their values to be set when creating or updating a contract block. This property uses a resource mapper to allow users to specify which contract block fields to populate and how to map data into them.

Output

JSON

  • id - The unique identifier of the created contract block.
  • fields - An object containing the values of the fields that were set on the created contract block.
  • status - The status or result of the create operation, indicating success or failure.

Dependencies

  • Requires an Autotask API credential (API key or token) to authenticate requests to the Autotask REST API.

Troubleshooting

  • If the node throws an error about unsupported resource or operation, verify that the resource is set to 'contractBlock' and the operation to 'create'.
  • Errors related to field mapping usually indicate missing or invalid field values; ensure that the 'Fields' property is correctly configured with valid contract block fields.
  • Authentication errors suggest invalid or missing Autotask API credentials; verify the credentials are correctly set up in n8n.
  • Network or API errors may occur if the Autotask API endpoint is unreachable or rate-limited; check network connectivity and API usage limits.

Discussion