DriveWorks Pro 17: Create A New Contact In Salesforce [send feedback...]

Create A New Contact In SalesForce

This Specification Macro Task will create a New Contact in Salesforce.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the Task.
AssistantNameThe Contacts Assistant Name (Optional).
AssistantPhoneThe Phone Number for the Contacts Assistant (Optional).
DepartmentThe Department the Contact works in (Optional).
DescriptionThe Contacts Description (Optional).
EmailThe Contacts Email Address (Optional).
FaxThe Contacts Fax Number (Optional).
Mailing CityThe City portion of the Contacts Mailing address (Optional).
Mailing CountryThe Country portion of the Contacts Mailing address (Optional).
Mailing StateThe State portion of the Contacts Mailing address (Optional).
Mailing StreetThe Street portion of the Contacts Mailing address (Optional).
Mailing Postal CodeThe Post/ZIP code portion of the Contacts Mailing address (Optional).
MobilePhoneThe Contacts Mobile Phone Number (Optional).
FirstNameThe Contacts First Name (Optional).
LastNameThe Contacts Last Name .
SalutationThe Salutation to use for the Contact. For example Mr, Mrs, Ms (Optional).
PhoneThe Contacts Phone Number (Optional).
TitleThe Contacts Job Title (Optional).
AccountIDThe Id of the Account to add this Contact to. Not adding an AccountId will simply add the Contact but not attach it to an account (Optional).
Reports ToThe Contact Id of the person to which this contact Reports to in there business. Leave blank if this Contact is the top of the hierarchy. (Optional).
Lead SourceThis is the Lead Source that lead to this Contact. For example Web or Partner (Optional).
Birth DateThe Contacts Date of Birth in the format YYYY-MM-DD.
Other CityThe City portion of the Contacts Other address (Optional).
Other CountryThe Country portion of the Contacts Other address (Optional).
Other StateThe State portion of the Contacts Other address (Optional).
Other StreetThe Street portion of the Contacts Other address (Optional).
Other Postal CodeThe Post/ZIP code portion of the Contacts Other address (Optional).
Custom Data

Data for custom fields in the format CustField1=Custvalue1|CustField2=CustValue2 (Optional).

For custom fields that you have created in SalesForce you need to append the end of the field name with two _s and a c like so '__c'

Return ConstantThe name of the Constant that the new Contact ID will be posted to.

Example

When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
AssistantName"Alex Jackson"Alex JacksonThis is the name of the Contacts assistant.
AssistantPhone"01234567891"01234567891This is the Telephone number for the Contacts assistant.
Department"Engineering"EngineeringThis is the Department the Contact works in.
Description"Manages the design team for NWRT"Manages the design team for NWRTThis is a description of the Contact.
Email"frankjackson@nwrt.co.uk"frankjackson@nwrt.co.ukThis is the Contacts Email.
Fax"0123321123"0123321123This is the Contacts Fax number.
Mailing City"Warrington"WarringtonThis is the City portion of the Contacts Mailing address.
Mailing Country"United Kingdom"United KingdomThis is the Country portion of the Contacts Mailing address.
Mailing State"Cheshire"CheshireThis is the State/County portion of the Contacts Mailing address.
Mailing Street"Crompton Way"Crompton WayThis is the Street portion of the Contacts Mailing address.
Mailing Postal Code"WA65 4IP"WA65 4IPThis is the Post/ZIP code portion of the Contacts Mailing address.
MobilePhone"07700900077"07700900077This is the mobile phone number for the Contact.
FirstNAme"Frank"FrankThis is the Contacts First Name.
LastName"Jackson"JacksonThis is the Contacts Last Name.
Salutation"Mr"MrThis is the Salutation to use for the Contact.
Phone"09876543211"09876543211This is the Contacts Phone number
Title"Design Team Manager"Design Team ManagerThis is the Contacts Job title.
AccountIDAccountIdReturn0011t000003krq7AAAThis is the Account Id to add the Contact to.
Reports To"0031t000002rOj4AAE"0031t000002rOj4AAEThis is the Contact Id of the person that the Contact reports to.
Lead Source"Web"WebThis is the lead source of where the Contact came from.
Birth Date"1966-07-30"1966-07-30This is the Contacts birthday.
Other City"Glasgow"GlasgowThis is the City portion of the Contacts other address.
Other Country"Scotland"ScotlandThis is the Country portion of the Contacts Other address.
Other State"Lanarkshire"LanarkshireThis is the State/County portion of the Contacts Other address.
Other Street"Peak Lane"Peak LaneThis is the Street portion of the Contacts Other address.
Other Postal Code"G1 0NK"G1 0NKThis is the Post/ZIP code portion of the Contacts Other address.
Custom Data"RecoveryEmail__C=frankm@mymail.co.uk"RecoveryEmail__C=frankm@mymail.co.uk

This will populate the custom field RecoveryEmail with an email.

If you are using a custom field that you have added in SalesForce make sure you follow the field name with two _s followed by c like the example above.

Return Constant"DWConstantCreatedContact"DWConstantCreatedContactThis is the name of the Constant that the Task will report back to with the newly created Id for the Contact that has just been created.

Table of Contents