Skip to main content

How Weflow Creates Contacts and Opportunity Contact Roles

When Weflow Activity Capture creates Salesforce contacts and opportunity contact roles, and the Contact creation settings that control both.

Weflow Activity Capture can create Salesforce contacts for new people on the emails and meetings it logs, and add contacts to opportunities as opportunity contact roles. It never creates leads, accounts or opportunities.

Contact creation and contact roles are separate settings, and contact role creation is off until an admin turns it on.

Note: The settings sit on the Contact creation tab of each Activity Capture configuration, with one contact role setting on the Expert settings tab, so each team can create contacts differently.

When Weflow creates a contact in Salesforce

With Enable contact creation on first log as background service on, Weflow creates a new Salesforce contact when a user sends or replies to an email and the recipient doesn't already exist in Salesforce.

  • On send, not receive: contacts are created when the user sends or replies, for addresses in To and CC. BCC is never used, and a thread the user never answers creates no contacts.

  • Meetings too: Weflow creates contacts for the attendees on the user's calendar event. People who join through an invite forwarded inside the buyer's company are not on that event, so they are created only once they join an email thread with the user.

  • Only Weflow's own logging: Weflow creates contacts from the emails and meetings it logs itself, not from emails another tool logged.

  • No duplicates: before creating a contact, Weflow looks up the address across contacts, leads and custom objects, including secondary email fields. It does not merge duplicates that already exist.

  • Excluded addresses: Weflow skips any address matching the list under Don't create records if the email address matches any of the following, such as noreply@, invoice@ or newsletter@. The list also holds @resource.calendar.google.com, so a Google Calendar room never becomes a contact.

  • Large meetings: with Max participants for contact creation switched off, Weflow creates contacts from meetings of up to 50 participants, which is Salesforce's own limit. Switched on, the setting applies your own cap. Above the cap, Weflow skips contact creation and still logs the activity.

Which fields Weflow fills on a new contact

Weflow writes first name, last name, email, account, website, LinkedIn URL, title, phone and location, and nothing else.

  • Names: Weflow takes the first and last name from the email or calendar invite when one was sent. Where only an address arrived, enrichment fills the name in roughly 70 percent of cases; otherwise the email address goes into the last name field and first name stays blank.

  • Enrichment: included with Activity Capture at no extra charge, it adds name, title, phone, location and LinkedIn profile before the contact is written. An admin gives one company-wide consent, which shares contact email addresses with the enrichment provider, and then switches enrichment on or off per configuration. Location arrives as free text.

  • Record type: if your org requires a record type on Contact, Default contact record type sets the one Weflow uses.

Note: Your Salesforce validation rules still apply. When a required field on Contact has a default value in Salesforce, Weflow fills it with that default. A required field with no default that enrichment could not fill stops that contact from being created.

How Weflow links new contacts to accounts

Weflow attaches a new contact to the account that matches the email domain. If no account matches, Weflow creates the contact without an account, unless Only Create Contacts for existing Accounts is on.

With it on, Weflow creates a contact only where a matching account exists, matched on the account's URL or on the email domains of contacts already on it.

A sender whose domain matches no account then creates no contact, and Weflow does not flag it; the rep can still create the contact from the Chrome Extension or Outlook Add-In.

How Weflow creates opportunity contact roles

When Weflow logs an email or meeting to an opportunity, it can add the related contacts as opportunity contact roles. Two settings do this:

Setting

Tab

Which contacts

Opportunity Contact Role

Contact creation

Contacts Weflow creates

Opportunity Contact Roles

Expert settings

Every related contact, new or existing

  • The Expert setting wins: while Opportunity Contact Roles in Expert settings is on, the Contact creation setting is not used.

  • If possible: Weflow creates the role unless a validation rule or another Salesforce limit blocks it.

  • Never primary: Weflow never sets the primary flag, and it does not create a role again that a user removed.

  • No role value inferred: Weflow links the person to the deal; naming them champion or economic buyer stays with your team.

  • Better mapping: Weflow decides which opportunity an email belongs to partly through contact roles, so every role it adds makes later emails and meetings from that contact land on the right opportunity.

Note: Contact role creation has no rule on which contacts qualify. In a partner-led motion, partner staff on a customer thread become contact roles on the customer's opportunity, and later emails among partner staff then log to that opportunity.

How to set up contact creation in Activity Capture

  1. In Weflow, go to Admin Console > Activity Capture and open the configuration.

  2. On the Contact creation tab, switch on Enable or disable contact creation.

  3. Add any addresses or prefixes Weflow should never create under Don't create records if the email address matches any of the following.

  4. Switch on Enable contact creation on first log as background service, and Only Create Contacts for existing Accounts if you want contacts only at known accounts.

  5. Set Opportunity Contact Role, Max participants for contact creation, Default contact record type and Disable contact creation via Add-In / Chrome Extension as you need.

  6. To enrich new contacts, tick the consent box under Enrichment and click Enable contact enrichment.

  7. For contact roles on every related contact, switch on Opportunity Contact Roles on the Expert settings tab.

  8. Click Save changes.

Activity Capture Contact creation: exclusions, contact roles and enrichment consent

Frequently asked questions about contact creation

Why does a new contact have its email address as the last name?

The email arrived without a display name and enrichment could not find the person, so Weflow put the address in the last name field and left first name blank. It is expected behaviour, not an error.

Can reps create contacts from the Chrome Extension or Outlook Add-In?

Yes, unless Disable contact creation via Add-In / Chrome Extension is on; that setting is independent of background creation. In the Outlook Add-In, the rep ticks the contact to create it, and for a meeting opens the add-in on that meeting.

Does Weflow create leads?

No. Weflow creates contacts only. If an address already exists as a lead, Weflow logs the activity to that lead.

Did this answer your question?