Salesforce Connector for Open Integration Hub.
This connector transforms to and from the salesforce contact data model, using these fields:
contact:
{
"Id":"",
"Name":"",
"FirstName":"",
"LastName":"",
"Title":"",
"Salutation":"",
"PhotoUrl":"",
"Department":"",
"AccountId":"",
"AccountName":"",
"AssistentName":"",
"CleanStatus":"",
"ReportsToId":"",
"Email":"",
"Fax":"",
"MobilePhone":"",
"Phone":"",
"AssistantPhone":"",
"HomePhone":"",
"OtherPhone":"",
"MailingCity: "",
"MailingCountry: "",
"MailingPostalCode: "",
"MailingState: "",
"MailingStreet: "",
"OtherCity: "",
"OtherCountry: "",
"OtherPostalCode: "",
"OtherState: "",
"OtherStreet: "",
"Birthdate":"",
"HasOptedOutOfFax":"",
"HasOptedOutOfEmail":"",
"DoNotCall":"",
"LeadSource":"",
}
account:
{
"Name":"",
"AccountNumber":"",
"AccountSource":"",
"Site":"",
"CleanStatus":"",
"Industry:"",
"DandbCompanyId":"",
"DunsNumber":"",
"Jigsaw":"",
"Fax":"",
"ShippingCity: "",
"ShippingCountry: "",
"ShippingPostalCode: "",
"ShippingState: "",
"ShippingStreet: "",
"BillingCity: "",
"BillingCountry: "",
"BillingPostalCode: "",
"BillingState: "",
"BillingStreet: "",
"Phone":"",
"Website":"",
"LastModifiedById":"",
"ParentId":"",
}
- Create api client with salesforce
- Set redirect uri to https://app.yourservice.com/callback/oauth2
- Set contacts:read contacts:write addresses:read addresses:write
- Set register secret in secret service
- Add secret to flow step
- Add instanceUrl to flow step *
* The instanceUrl is provided from salesforce as return value from the oauth2 login. So you might want to extend the secret service to add the value to the flow step automatically.
(The url might look like: https://your-salesforce-id.my.salesforce...)
This action will upsert a person (contact) in Salesforce. If an ID is supplied, the connector will attempt to update an existing contact with this ID. If no ID is provided a new entry will be created instead.
This action will upsert a organization (account) in Salesforce. If an ID is supplied, the connector will attempt to update an existing contact with this ID. If no ID is provided a new entry will be created instead.
This trigger will get all persons (contact's) from the associated Salesforce account and pass them forward. By default it will only fetch the first 100000 entries.
This trigger will get all organizations (account's) from the associated Salesforce account and pass them forward. By default it will only fetch the first 100000 entries.
This trigger will get all organizations (account's) and all persons (contact's including the reference to the organization / account) from the associated Salesforce account and pass them forward. By default it will only fetch the first 100000 entries of each type.
By default, this connector attempts to automatically transform data to and from the OIH Address Master Data model. If you would like to use your own transformation solution, simply set skipTransformation: true
in the fields
object of your flow configuration. Alternatively, you can also inject a valid, stringified JSONata expression in the customMapping
key of the fields
object, which will be used instead of the integrated transformation.