Log function calls to Job report

Recipe ToolsWorkato

What it does

When someone calls a function in real-time, this automation logs the call details to the Job report. The function returns its result after the logs are written so the caller sees the outcome.

Who it's for

Engineering teams who need to track function calls and debug issues in integrations.

How teams use this

Debug function execution issues

Log each function call to the Job report so the team can see what inputs were passed and trace where failures occur in the integration flow.

Audit function calls for compliance

Keep a record of every function invocation in the Job report for compliance and security reviews. The logs show who called the function and when.

Add custom logging fields

Extend the log message to include user ID, timestamp, or request source so the Job report contains richer context for each function call.

How it works

  1. Receive a function call. A function is called in real-time with input parameters from another workflow or application.
  2. Log call details to Job report. Write the function call details and input parameters to the Job report so the execution is visible for debugging and auditing purposes.
  3. Return the result. Send the function result back to the caller so the calling workflow receives the output and can continue processing.