Axonaut icon

Axonaut

Interact with Axonaut API - Complete coverage of all endpoints

Actions133

Opportunity → Upsert

AI-generated

Summary

Create or update an opportunity based on its name within the specified company in Axonaut.

Inputs

  • Opportunity Name (required) — Name of the opportunity to search for and use as unique identifier to find an existing record.
  • Company (required) — The company ID the opportunity belongs to.
  • Add Fields — Additional opportunity fields to set or update including amount, probability, close date, and stage.

Output shape

A single opportunity record as JSON, with an additional property '_operation' indicating whether the record was created or updated.

The operation searches for an opportunity matching the given name. If found, it updates that opportunity with the provided fields; otherwise, it creates a new opportunity with the name and associated fields. The response contains the full opportunity data from Axonaut.

Discussion