onOffice icon

onOffice

onOffice custom node for n8n

Agentslog → Create

AI-generated

Overview

This node operation creates a new agents log entry in the onOffice system. It is useful for tracking and recording various actions or events related to agents, such as appointments, tasks, or other activities. Users can specify detailed information about the log entry, including action type, advisory level, linked entities (like addresses, estates, projects), timing, duration, costs, and notes.

Use Case Examples

  1. Creating a log entry for a support call with details about the action type and duration.
  2. Logging an appointment with linked estate and user information.
  3. Recording a cancellation with a reason and advisory level G.

Properties

Name Meaning
Additional Fields A collection of optional fields to provide detailed information about the agents log entry, such as action kind, action type, linked IDs, advisory level, date and time, duration, costs, notes, and user ID.

Output

JSON

  • id - ID of the created agents log entry
  • actionkind - Kind of action recorded
  • actiontype - Type of action recorded
  • addressids - Linked address IDs
  • advisorylevel - Advisory level of the log entry
  • appointmentid - Linked appointment ID
  • cost - Costs associated with the log entry
  • datetime - Date and time of the log entry
  • duration - Duration in seconds
  • estateid - Linked estate ID
  • features - Features or characteristics linked to the log entry
  • fileids - Linked file IDs
  • note - Notes or remarks
  • origincontact - Type of contact
  • projectid - Linked project ID
  • reasoncancellation - Reason for cancellation if advisory level is G
  • taskid - Linked task ID
  • userid - User ID for support or logged in user if not set

Dependencies

  • An API key credential for onOffice API authentication

Troubleshooting

  • Ensure all required fields are correctly formatted, especially date and time in 'Y-m-d H:i:s' format.
  • If linking IDs (address, estate, project, etc.), verify that these IDs exist in the onOffice system.
  • Advisory level G requires a reason for cancellation; omitting this may cause errors.
  • If user ID is not set, the node uses the logged-in user; ensure the credential has appropriate permissions.

Discussion