Yourang icon

Yourang

Interact with yourang.ai - 24/7 AI phone assistant for calls, contacts, and events

Workflow → Get Executions

AI-generated

Overview

This node operation retrieves execution records of a specified workflow from the Yourang.ai platform. It is useful for monitoring and analyzing the history of workflow runs, including their status, type, and timing. For example, users can fetch all executions or limit the number of results, filter by execution status (e.g., completed, failed), type (e.g., manual, scheduled), and sort the results by various fields such as creation or completion time.

Use Case Examples

  1. A user wants to review all failed executions of a particular workflow to diagnose issues.
  2. A user needs to get the last 50 executions of a workflow sorted by the most recent completion time.

Properties

Name Meaning
Return All Whether to return all execution records or limit the number of results.
Limit Maximum number of execution records to return when 'Return All' is false.
Workflow ID The unique identifier of the workflow whose executions are to be retrieved.
Filters Optional filters to refine the execution records retrieved, including offset, status, type, and sort order.

Output

JSON

  • id - Unique identifier of the execution.
  • status - Current status of the execution.
  • type - Type of the execution (e.g., manual, scheduled).
  • createdAt - Timestamp when the execution was created.
  • startedAt - Timestamp when the execution started.
  • completedAt - Timestamp when the execution completed.
  • data - Additional data related to the execution, such as input and output details.

Dependencies

  • Requires Yourang API credentials with base URL for authentication and API access.

Troubleshooting

  • Common issues include invalid or missing workflow ID, resulting in errors fetching executions.
  • Incorrect filter values or unsupported sort options may cause the API to return errors or empty results.
  • Network or authentication failures with the Yourang API can cause request failures; ensure credentials are valid and network connectivity is stable.

Links

Discussion