InNotes icon

InNotes

Consume InNotes CRM API

Actions22

Automation → Report Job Created

AI-generated

Overview

This node operation reports the creation of jobs by a workflow execution to the InNotes CRM API. It is useful for tracking and logging the number of jobs added during an automation process, along with the execution status and any error messages if the workflow failed. For example, it can be used to notify the CRM system about successful or failed job creation events triggered by an automated workflow.

Use Case Examples

  1. Reporting that 5 jobs were successfully added by a workflow.
  2. Reporting a job creation failure with an error message for troubleshooting.

Properties

Name Meaning
Jobs Added Number of jobs added by this workflow execution.
Status Status of the workflow execution, indicating success or error.
Error Message Error message if the workflow failed, shown only when status is 'error'.
Options Additional options to control batch size and timeout between batches to avoid rate limiting.

Output

JSON

  • success - Indicates if the report job creation call was successful.
  • jobsAdded - Number of jobs reported as added.
  • status - Status of the workflow execution reported.
  • error - Error message returned if any during the report.

Dependencies

  • InNotes API credentials with a configured callback secret

Troubleshooting

  • Error if callback secret is not configured in the InNotes API credentials. Solution: Add the callback secret to the credentials configuration.
  • Failure to get user ID from the API. Solution: Check API connectivity and credentials validity.
  • Failure to report job creation due to API errors. Solution: Verify API endpoint availability and correct request parameters.

Discussion