Skip to main content

findSFDCOpportunityPayload

A matching Salesforce Opportunity, annotated with the accord it is linked to (if any).

type findSFDCOpportunityPayload {
id: String!
accountName: String
accountWebsite: String
opportunityName: String
opportunityAmount: String
sfdcUrl: String
closeDate: String
createdDate: String
nextStep: String
stageName: String
ownerName: String
connectedAccordId: String
connectedAccordName: String
connectedOpportunityName: String
connectedCrmId: String
}

Fields​

findSFDCOpportunityPayload.id ● String! non-null scalar​

The Salesforce Opportunity record id.

findSFDCOpportunityPayload.accountName ● String scalar​

Name of the Opportunity's Account; empty string when it has none.

findSFDCOpportunityPayload.accountWebsite ● String scalar​

Website of the Opportunity's Account; null when it has none.

findSFDCOpportunityPayload.opportunityName ● String scalar​

The Opportunity name.

findSFDCOpportunityPayload.opportunityAmount ● String scalar​

The Opportunity amount.

findSFDCOpportunityPayload.sfdcUrl ● String scalar​

Deep link to the opportunity in the Salesforce Lightning UI.

findSFDCOpportunityPayload.closeDate ● String scalar​

The Opportunity close date.

findSFDCOpportunityPayload.createdDate ● String scalar​

Date the Opportunity was created, as YYYY-MM-DD, or "-" when Salesforce reports no creation date.

findSFDCOpportunityPayload.nextStep ● String scalar​

Always an empty string: the resolver hardcodes it and never reads the Opportunity's NextStep field.

findSFDCOpportunityPayload.stageName ● String scalar​

The Opportunity stage name.

findSFDCOpportunityPayload.ownerName ● String scalar​

Display name of the opportunity owner, falling back to their email and then to "-" when the record has no owner.

findSFDCOpportunityPayload.connectedAccordId ● String scalar​

Id of the accord linked to this opportunity, if one exists.

findSFDCOpportunityPayload.connectedAccordName ● String scalar​

Name of the accord linked to this opportunity, if one exists.

findSFDCOpportunityPayload.connectedOpportunityName ● String scalar​

Name of the opportunity recorded on the linked accord, if any.

findSFDCOpportunityPayload.connectedCrmId ● String scalar​

The CRM id recorded on the linked accord, if one exists.

Returned By​

searchSFDCOpportunities query