Yourang icon

Yourang

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

Order → Get Many

AI-generated

Overview

This node interacts with the Yourang.ai platform to retrieve multiple customer orders based on specified filters and parameters. It is useful for scenarios where users need to fetch a list of orders, such as for reporting, data synchronization, or order management tasks. For example, a user can retrieve all orders created after a certain date, filter by order status, and sort the results by creation date or total amount.

Use Case Examples

  1. Retrieve all orders created after January 1, 2024, sorted by creation date descending.
  2. Fetch up to 50 orders with status 'completed' sorted by total amount ascending.

Properties

Name Meaning
Return All Whether to return all results or only up to a given limit.
Limit Maximum number of results to return when 'Return All' is false.
Filters Collection of filters to refine the order retrieval, including 'Created After' date, 'Sort' order, and 'Status' filter.

Output

JSON

  • id - Unique identifier of the order.
  • created_at - Timestamp when the order was created.
  • status - Current status of the order.
  • total_amount - Total monetary amount of the order.
  • customer - Customer details associated with the order.

Dependencies

  • Yourang.ai API with an API key credential

Troubleshooting

  • Common issues include API authentication errors due to invalid or missing credentials. Ensure the Yourang API key is correctly configured.
  • Errors may occur if invalid filter values are provided, such as incorrect date formats or unsupported status values. Validate input parameters before execution.
  • If the node returns no data, check that the filters are not too restrictive and that there are orders matching the criteria.

Links

Discussion