Actions20
Overview
This node integrates with the Odoo API to manage Opportunities within the Odoo system. Specifically, the 'Create' operation allows users to create new Opportunity records by specifying a mandatory name and optional additional fields such as email, expected revenue, internal notes, phone, priority, and probability. This node is useful for automating sales pipeline management, CRM workflows, and syncing opportunity data from other systems into Odoo.
Use Case Examples
- Creating a new sales opportunity with a name and expected revenue to track potential deals.
- Adding an opportunity with detailed contact information and priority to prioritize sales efforts.
Properties
| Name | Meaning |
|---|---|
| Name | The name of the opportunity to be created, which is a required field. |
| Additional Fields | Optional fields to provide more details about the opportunity, including email, expected revenue, internal notes, phone, priority, and probability. |
Output
JSON
id- The unique identifier of the created opportunity record in Odoo.name- The name of the created opportunity.email_from- Email address associated with the opportunity, if provided.expected_revenue- Expected revenue value of the opportunity, if provided.description- Internal notes or description of the opportunity, if provided.phone- Phone number related to the opportunity, if provided.priority- Priority level of the opportunity, if provided.probability- Probability percentage of winning the opportunity, if provided.
Dependencies
- Requires an Odoo API credential with URL, username, password, and database name to authenticate and interact with the Odoo system.
Troubleshooting
- Common issues include authentication failures due to incorrect Odoo API credentials or URL. Verify credentials and endpoint URL.
- Errors may occur if required fields like 'Name' are missing; ensure all mandatory fields are provided.
- Network connectivity issues can prevent API calls; check network access to the Odoo server.
- If the Odoo instance has customizations or restrictions, some fields may not be accepted or may require additional permissions.
Links
- Odoo Official Documentation - Comprehensive resource for understanding Odoo models, fields, and API usage.
- Odoo API Documentation - Detailed guide on Odoo's JSON-RPC API for developers.