Skip to main content

Create lead

The Salesforce Create lead action creates new lead records in your connected Salesforce org. This write action creates a new lead each time it runs. Running the same configuration multiple times will create duplicate leads, so design your workflow accordingly.

Limitations

  • As with other Salesforce actions, the exact parameter set and behavior can change over time. Confirm how this action behaves in your own environment before you depend on it for large-scale or fully automated lead creation.

Prerequisites

  • Your Salesforce org must be connected as a data source in Glean, and an admin must enable the Salesforce action pack and complete Salesforce Actions Setup including OAuth configuration.

  • Users must authenticate for Salesforce actions on first use.

Supported parameters

ParameterTypeDescription
Annual revenueNumberEstimated or known annual revenue for the lead’s company.
CityStringCity for the lead’s mailing or business address.
CompanyStringCompany name associated with the lead (required).
CountryStringCountry for the lead’s mailing or business address.
DescriptionStringFree-form notes or additional context about the lead.
EmailStringPrimary email address for the lead.
First nameStringLead’s given name.
IndustryStringIndustry classification for the lead’s company.
Last nameStringLead’s family name or surname (required).
Lead sourceStringOrigin of the lead (for example, Web, Partner, Event).
Number of employeesIntegerNumber of employees at the lead’s company.
PhoneStringPrimary phone number for the lead.
Postal codeStringPostal or ZIP code for the lead’s address.
RatingStringInternal quality or priority rating for the lead.
StateStringState, province, or region for the lead’s address.
StatusStringCurrent lifecycle status of the lead (for example, New, Working).
StreetStringStreet line of the lead’s mailing or business address.
TitleStringJob title or role of the lead.
WebsiteStringWebsite URL associated with the lead’s company.

Usage example

You have a list of qualified prospects from a recent trade show and need to add them to Salesforce as leads, then send personalized follow-up emails and update their status to show active outreach.

Instruction to an agent:

"Create a new lead in Salesforce for ABC JIM, Director of Engineering at XYZ Inc, email abc@example.com, phone 444-555-1111, located in San Francisco, CA. Set the lead source to Trade Show and industry to Technology. Then send him a personalized follow-up email about our enterprise product demo and update his lead status to Working - Contacted."

Resulting behavior:

  • Calls Create lead with:

    • First name set to "ABC".

    • Last name set to "JIM".

    • Company set to "XYZ Inc" (required).

    • Title set to "Director of Engineering".

    • Email set to "abc@example.com".

    • Phone set to "444-555-1111".

    • City set to "San Francisco".

    • State set to "CA".

    • Country set to "United States".

    • Lead source set to "Trade Show".

    • Industry set to "Technology".

    • Status set to "New".

  • Creates a new Lead record in Salesforce.

  • Returns the Lead ID (for example, "00Qxx000001234567").

  • Calls Send email action to send personalized follow-up email to Michael.

  • Calls Update lead action to change status to "Working - Contacted".

  • Confirms the lead was created and outreach completed.

Workflow tip: Combine this action with Salesforce Send email and Update lead to create complete prospecting workflows. You can also process leads from structured sources like Google Sheets by iterating through rows. For complex workflows, use conditional logic to branch based on lead properties like industry or region to send different email templates or assign to different owners.

Troubleshooting

FAQs