Create AppDirect lead in Salesforce and assign to company
Developer ToolAPI IntegrationMarketingCRM
What it does
When a new lead arrives via HTTP webhook, this automation creates a lead record in Salesforce. The lead is matched to an existing AppDirect user or a new one is created, then assigned to the correct company.
Who it's for
Sales operations teams who need leads synced from AppDirect to Salesforce with company assignments.
Apps used
How teams use this
Sync leads from AppDirect to Salesforce
New leads from AppDirect flow into Salesforce automatically with company context, so the sales team has a single source of truth without manual entry.
Assign leads to companies on creation
Each lead is matched to its company in AppDirect at the moment it enters Salesforce, so account ownership is set from the start.
Create missing users during sync
If a lead's email domain does not match an existing AppDirect user, the automation creates one in AppDirect so the company membership assignment succeeds without manual intervention.
Route leads by company segment
Add a condition to check company type or size and filter the Salesforce lead to different queues or owners based on segment criteria.
How it works
- Receive new lead via HTTP webhook. A new lead event arrives in real time through an HTTP webhook with the lead details and company information.
- Create lead in Salesforce. A new lead record is created in Salesforce with the name, email, and company data from the webhook payload.
- Search for user in AppDirect. The automation searches AppDirect via HTTP for an existing user matching the lead email domain to determine if a new user must be created.
- Create or retrieve company and user. If no user exists, a new one is created in AppDirect via HTTP. The lead is then assigned to the company via a membership link.
- Associate lead to company. The lead is linked to the correct AppDirect company via HTTP so the sales team can track the account relationship.