Dalil AI icon

Dalil AI

Consume Dalil AI API

Opportunity → Get

AI-generated

Overview

This node operation retrieves detailed information about a specific Opportunity from the Dalil AI API. It allows users to specify the UUID of the Opportunity they want to fetch and optionally define the depth of nested related objects to include in the response. This is useful for scenarios where you need to access comprehensive data about an Opportunity, including its direct relations and further nested relations, for CRM or sales pipeline management.

Use Case Examples

  1. Retrieve an Opportunity by its UUID to get its basic details.
  2. Fetch an Opportunity along with its related entities (like associated company, contacts) by setting depth to 1 or 2.

Properties

Name Meaning
Opportunity Name or ID UUID string of the opportunity to retrieve. Choose from the list or specify an ID using an expression.
Depth Name or ID Level of nested related objects to include: 0 (opportunity only), 1 (opportunity + direct relations), 2 (opportunity + relations + their relations). Choose from the list or specify an ID using an expression.

Output

JSON

  • json - The retrieved Opportunity object with details according to the specified depth

Dependencies

  • Dalil AI API with an API key credential

Troubleshooting

  • Common issues include invalid or missing Opportunity UUID, which will cause the API request to fail.
  • Incorrect depth values might result in incomplete or overly large responses.
  • API errors from Dalil AI service should be checked for detailed error messages and resolved accordingly.

Links

Discussion