Skip to main content
Kinetic Community

Salesforce Opportunity Create

Updates a Salesforce Contact record with the given parameters and returns the Contact Id of the updated Contact record. The parameters are mapped directly to their respective fields.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

salesforce_opportunity_create_v1.zip

Detailed Description

Creates a Salesforce Opportunity record with the given parameters and returns
the id of the new Opportunity record.
 
This handler essentially has two phases: authentication and record creation.
 
* The handler uses the SOAP API login method to retrieve the authentication
  details that are required for making the REST API requests.  The required
  authentication values are instance and session id, these two values are
  retrieved by the login() helper method in the handler.
 
* The handler uses the REST API to create the Salesforce record.  The Salesforce
  record simply contains mappings provided by the @field_values instance
  variable.  The handler's parameters are mapped to Salesforce fields in the
  node.xml as show here:
  - Opportunity Name  => Name
  - Close Date        => CloseDate
  - Stage             => StageName
  - Private           => IsPrivate
  - Type              => Type
  - Lead Source       => LeadSource
  - Amount            => Amount
  - Next Step         => NextStep
  - Probability       => Probability

Parameters

Name Description
Opportunity Name   Sets the Opportunity Name field of the Opportunity record
Close Date   Sets the close Date field of the Opportunity record
Stage   Sets the Stage field of the Opportunity record
Private  Sets the Private field of the Opportunity record
Type  Sets the Type field of the Opportunity record
Lead Source  Sets the Lead Source field of the Opportunity record
Amount  Sets the Amount field of the Opportunity record
Next Step  Sets the Next Step field of the Opportunity record
Probablility  Sets the Probablility field of the Opportunity record

Results

Name Description
Opportunity ID The Id of the Salesforce Opportun ity that was created

Change Log

Version Date Description
V1 2011-04-28 Initial Version