awork icon

awork

Automate your workflows with the awork API

Overview

This node integrates with the awork API to automate workflow management related to companies, projects, tasks, and users. Specifically, for the "Create Company" operation, it allows users to create a new company record in awork by providing essential details such as the company's name, description, and industry. This is useful for automating CRM processes, onboarding new clients, or managing organizational data within awork.

Practical examples include:

  • Automatically creating a company entry when a new lead is added in a CRM.
  • Syncing company data from external databases into awork.
  • Setting up company profiles as part of project initialization workflows.

Properties

Name Meaning
Company Name The name of the company (required).
Company Description A textual description providing more details about the company.
Company Industry The industry sector to which the company belongs.

Output

The node outputs JSON data representing the newly created company object as returned by the awork API. This typically includes the company’s unique identifier, name, description, industry, and possibly metadata such as creation timestamps.

If the node supports binary data output (not indicated here), it would represent associated files or attachments related to the company, but this is not applicable for this operation.

Dependencies

  • Requires an API key credential for authenticating with the awork API.
  • The node uses the base URL https://api.awork.com and expects JSON-formatted requests and responses.
  • Proper configuration of the API authentication token in n8n credentials is necessary.

Troubleshooting

  • Missing Required Fields: If "Company Name" is not provided, the node will likely throw a validation error. Ensure all required fields are filled.
  • Authentication Errors: Invalid or missing API credentials will cause authentication failures. Verify that the API key is correctly configured.
  • API Rate Limits or Network Issues: Temporary network problems or hitting API rate limits may result in errors. Retrying after some time or checking network connectivity can help.
  • Invalid Field Values: Providing unsupported or malformed values for fields like industry might cause API rejections. Validate input data before execution.

Links and References

Discussion