Dalil AI icon

Dalil AI

Consume Dalil AI API

Opportunity → Get Many

AI-generated

Overview

This node operation retrieves multiple Opportunity records from the Dalil AI API. It supports fetching all records or limiting the number of results returned. Users can apply sorting, filtering, and specify the depth of nested related objects to include in the response. This operation is useful for scenarios where you need to list or analyze multiple opportunities, such as generating reports, dashboards, or syncing data with other systems.

Use Case Examples

  1. Fetch all opportunities without limit to get a complete dataset.
  2. Fetch a limited number of opportunities sorted by close date and name for a summary view.
  3. Filter opportunities by stage and amount to focus on specific sales stages or deal sizes.

Properties

Name Meaning
Return All Whether to return all results or only up to a given limit.
Limit Maximum number of opportunity records to return when Return All is false.
Options Additional options to customize the query such as order by fields, filter conditions, and depth of nested related objects.

Output

JSON

  • json - The retrieved opportunity records, each containing fields as returned by the Dalil AI API, including nested related objects depending on the depth parameter.

Dependencies

  • Dalil AI API with an API key credential

Troubleshooting

  • Common issues include invalid filter or orderBy syntax which can cause API errors. Ensure the filter and orderBy strings follow the specified format.
  • If the API returns unexpected structure errors, verify the API endpoint and credentials are correct.
  • Handling large data sets with Return All enabled may lead to performance issues or timeouts; consider using limits and pagination.

Links

Discussion