Glossary

Explore Meshline

Products Pricing Blog Support Log In

Ready to map the first workflow?

Book a Demo
Autonomous Operations

Which Data Sources Should Your Workflow Action Pull From?

Unsure which record your workflow action should read from? See how to match the connection condition to your real data so each action pulls the right record.

A smaller gear icon overlapping a larger database icon.

You are building a workflow action and the data panel offers more record types than you expected.

Should the email pull from the enrolled contact, the associated deal, or a company matched by domain?

Pick the wrong source and your notification shows a blank, your branch evaluates the wrong record, and nobody notices until a rep complains.

This article explains how HubSpot workflow data sources work and the four ways to connect a source to the enrolled record.

It also covers the checks worth doing before relying on any source in live automation.

What a data source is in a workflow

In HubSpot workflows, a data source is a set of records the workflow can read from when an action runs.

The enrolled record is always available.

Anything else, such as an associated company or a deal linked to a contact, needs to be available as a data source before its properties appear in the data panel.

HubSpot's documentation notes that additional data sources are added by default to contact, company, deal, and ticket-based workflows.

You can add or edit sources via Edit available data, per the HubSpot Knowledge Base.

You can add up to 50 data sources per workflow HubSpot Knowledge Base.

Custom event properties can also be used in actions supported by the data panel, and they appear under the name of the custom event.

Two practical limits sit on top of this.

You need Super Admin or Workflows permissions to use the workflows tool HubSpot Knowledge Base.

Certain features may require credits, seats, or additional subscriptions depending on your plan.

If a data source option is missing, check permissions and subscription availability before assuming the feature does not exist.

The four ways to connect a data source

When you add a data source, HubSpot asks you to choose a condition that links the new records to the enrolled record.

The documentation describes four options, and each answers a different question HubSpot Knowledge Base.

  • If associated to the enrolled record. Use this when the data lives on records directly related to the enrolled one, such as the company attached to a contact. If several records of the same type are associated, you can refine by association label.
  • If property values match. Use this when there is no direct association but a shared value, such as matching a company's domain property to the domain on the enrolled contact. HubSpot reviews all records in your CRM to find the match.
  • If a property value is equal to. HubSpot generally recommends this when a custom property stores a unique identifier, such as selecting custom objects where a Listing ID equals a specific value.
  • Is equal to. This selects records with a specific property value you enter, regardless of the enrolled record.

After choosing the condition, you pick how the workflow narrows multiple matches to one HubSpot Knowledge Base.

The options are most recently updated, most recently created, or first created.

That tie-breaker matters more than most builders expect, because it silently decides which record's data your action actually uses.

Matching the connection method to your data reality

The right condition depends on how your records actually relate, not on which option appears first.

A few situations illustrate the tradeoffs.

If your CRM keeps associations clean, the associated-record option is the most predictable.

The link is explicit, so the workflow reads exactly the record your team attached.

The risk appears when a contact has several associated companies and no association label is set.

The workflow then has multiple candidates, and the tie-breaker picks one.

If your team does not use association labels consistently, consider cleaning that up before building the automation, or accept that the most-recently-updated rule decides for you.

Property matching is useful when associations are missing but a shared value exists.

The domain-matching example from the documentation is a common pattern.

The tradeoff is data quality: if domains are stored inconsistently, with or without subdomains or trailing paths, the match can fail or match the wrong company.

Because HubSpot reviews all CRM records to find a match, a loosely defined match condition can also connect to records you did not intend.

The unique-identifier option is the most precise when it applies.

If you have a custom property that reliably holds a unique ID, matching on it avoids ambiguity entirely.

The prerequisite is exactly that reliability: the identifier must be populated and unique.

If it is sometimes blank or duplicated, the workflow either finds nothing or finds several records and falls back to the tie-breaker again.

The plain is-equal-to option behaves differently from the other three: it ignores the enrolled record's relationships and selects records with a fixed value.

That suits cases where the action should always read from a specific segment, such as custom objects with a particular property value.

It is a poor fit when the data should follow each enrolled contact individually.

A worked example

Here is an illustrative setup, not a real customer result.

Suppose you build a contact-based workflow that sends an internal notification when a contact reaches a deal stage.

You add a data source of type deal with the condition if associated to the enrolled contact.

In the notification field, you insert the deal's amount and close date from the deal data source, and the contact's name from the enrolled record.

Before turning it on, you check two things.

First, check whether contacts in this workflow can have more than one associated deal.

If so, add a filter condition or accept that the most-recently-updated deal supplies the values.

Second, check whether the amount property is populated when contacts enroll.

If reps often leave it blank, the notification shows an empty value, so consider a fallback or later trigger.

Both checks take place in your own data, and neither can be settled from the workflow editor alone.

Choosing which source a specific action reads

Adding a data source does not automatically point every field at it.

After sources are added, select the source for each field via the View properties or action output from dropdown in the insert data panel.

Then expand the data type and click the property you want HubSpot Knowledge Base.

The property is inserted into the field.

This per-field selection is where mixed-up sources usually creep in.

A quickly built notification might pull the company name from the enrolled contact while pulling the phone number from the matched company.

The result is a message where half the details describe one record and half describe another.

A useful habit is to open each finished action and confirm the source shown in the dropdown matches the record you intended for every inserted property.

You can review or delete existing data sources from the Edit available data panel HubSpot Knowledge Base.

Use the eye icon for details and the delete icon to remove a source.

The source documents reviewing and deleting data sources from this panel.

What happens to actions that still reference a deleted source is not documented there, so verify the affected actions in your own account after any deletion.

Checks before a data source goes live

Because a data source determines what your actions read at run time, a short review of the configuration can surface several specific problems before contacts flow through:

  • Does the connection condition reflect how your records actually relate, or does it rely on a property that is sometimes blank?
  • If multiple records can match, have you chosen a tie-breaker deliberately, and do you know which record it will pick in a typical case?
  • For each inserted property, does the selected data source in the dropdown match the record you meant?
  • Do the enrolled records actually have the association, matching value, or identifier the condition depends on at enrollment time?

These checks reveal configuration mismatches you can see in the setup and in sample records.

They do not catch every logic error, and they cannot tell you how the workflow behaves with records that arrive in unusual states.

Testing with a small set of real records, or reviewing early enrollments after launch, remains worthwhile.

When a data source is the wrong fix

Sometimes the impulse to add another data source signals a data problem instead.

If you find yourself adding a property-match source because associations are unreliable, the underlying fix may be improving association hygiene rather than working around it.

If you add a source to compensate for a property that lives on the wrong object, moving the property may serve every future workflow better.

A data source is the right tool when the data genuinely lives on a related or matching record and the relationship is stable.

When the relationship itself is the unreliable part, fixing the relationship first may be preferable to maintaining a workaround; weigh that against your own maintenance effort.

Deciding with confidence

The decision comes down to three questions.

Where does the data live today?

How reliably is the link between the enrolled record and that data maintained?

And which single record should the action read when more than one qualifies?

Answer those from your own CRM, choose the connection condition that matches the real relationship, and verify the source dropdown on every field you populate.

If you are still deciding which object your workflow should even be built on, that choice shapes which data sources are available in the first place.

The guide to choosing a workflow object type covers that decision before you create anything.

Once the object is set, choosing the right automation flow action per step helps you match actions to outcomes.

It is also worth considering whether placeholder actions help before configuring a workflow when setup spans several steps.

For the downstream handoff, see when a workflow should assign a lead to a sales rep.

Data sources are a small configuration panel with outsized consequences: everything your workflow says, branches on, or passes downstream flows through them.

Confirming the connection condition and per-field source selection is worthwhile.

It is the difference between an automation your team trusts and one that quietly sends the wrong details.

How Meshline can help. Connect automation, Organic Marketing (demand generation), and customer lifecycle management (Revenue Intelligence).

Bring topic planning, content publishing and performance feedback into the conversation about your workflow. Book a Meshline demo.

Revenue Intel

Ask us about this workflow.

Tell us what you want to fix or automate. We'll reply with the most useful next step.

Book a Demo

Implementation decisions

Put this into practice

Before investing in Which Data Sources Should Your Workflow Action Pull From, define the problem, the available data and who will review the outcome.