# Attribution Logic for Lead/Contact Creation

## Overview

The Integrous system creates an Activation Engagement for every new Lead and Contact added to the system. This article explains the Attribution logic it uses to populate these records.

## When This Logic Runs

* Lead Creation
* Contact Creation *(except from Lead conversion)*
  * Contacts created from Lead conversion don't need this logic because they inherit attribution from the converted Lead. During the conversion process, the system automatically associates all the Lead’s Engagements with the Contact as well.

## Key Concepts

The system uses a hierarchical approach to ensure every Lead and Contact receives the most meaningful attribution data available at the time.

### Fallback Logic

The data in the Lead/Contact ‘Processing’ fields (e.g., for web form submissions or list uploads) is typically the most detailed, so it is prioritized. If the ‘Processing’ fields are blank, the system falls back to using Lead Source (e.g., for manually created Leads/Contacts). If both are blank, it falls back to a text value “lead/Contact created without…” for troubleshooting purposes. Each field is evaluated independently to ensure we capture the best information we have for each field.

### First-Click vs. Last-Click

When the system only finds values in the FC or LC ‘Processing’ fields, it populates both the FC and LC RAW fields with those values. This is particularly useful for interactions like:

* Offline events (tradeshows, dinners)
* List uploads like Content Syndication or Paid Webinar
* Anything else where first-click and last-click are irrelevant

Thus, list uploads can either use FC ***or*** LC fields, and the system will record the values in **both**.

## Logic Diagram

The diagram below shows the logic flow for populating attribution fields on Activation Engagements created from NEW Leads/Contacts per above:

![Flowchart illustrating engagement processing logic for lead and contact creation.](/files/31d5895505c3e1040e8b22439001e44093a9bd7f)

## Related Articles

* [**Lead Source for Manually Created Leads/Contacts**](/key-concepts/lead-source-for-manually-created-leads-contacts.md)
* [**Engagement Creation and Attribution Logic**](/key-concepts/engagement-creation-and-attribution-logic.md)
* [**Processing, RAW, and Reporting Fields**](/key-concepts/processing-raw-and-reporting-fields.md)
* [**Activations vs. Influencing Engagements**](/key-concepts/activations-vs.-influencing-engagements.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.integrousanalytics.com/key-concepts/attribution-logic-for-lead-contact-creation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
