onOffice icon

onOffice

onOffice custom node for n8n

Task → Create

AI-generated

Overview

This node creates a new task in the onOffice system. It is useful for automating task management workflows, such as setting deadlines, assigning priorities, and designating responsible users or groups. For example, it can be used to automatically create follow-up tasks after a client meeting or to assign tasks to team members based on project progress.

Use Case Examples

  1. Create a task with a specific deadline and priority to ensure timely completion.
  2. Assign a task to a specific user or group to clarify responsibility.
  3. Set the status of a task to track its progress through different stages.

Properties

Name Meaning
Data Collection of task-related fields including deadline, priority, processor, responsibility, status, subject, and description.
Related Address ID Numeric ID linking the task to a related address entity.
Related Estate ID Numeric ID linking the task to a related estate entity.

Output

JSON

  • taskId - The unique identifier of the created task.
  • status - The status of the task after creation.
  • message - Additional information or confirmation message about the task creation.

Dependencies

  • Requires an API key credential for onOffice API authentication.

Troubleshooting

  • Ensure the deadline is in the correct format (YYYY-MM-DD HH:mm:ss) to avoid validation errors.
  • Verify that the priority and status values are within the allowed options to prevent request failures.
  • Check that relatedAddressId and relatedEstateId are valid numeric IDs if provided.
  • Common error messages may include authentication failures due to invalid API credentials or permission issues when creating tasks.

Discussion