# Get contact from company

Source: https://docs.vendasta.com/automations/my-automations/get-contact-from-company/

`Get contact from company` retrieves a contact linked to the company in scope and makes it available to downstream steps. Use it in company-scoped automations when you need to run contact-level actions (send an email, add to a list, assign an owner). This action is available on company-scoped triggers.

## How it works

1.  The automation reaches the step with a company in scope
2.  The step looks up contacts associated with the company
3.  A contact record is brought into scope for downstream steps
4.  Contact-scoped actions become available in subsequent steps

> **Warning:** If the company has no associated contacts, the step returns an error. Add an `If/else branch` to handle cases where no contact exists.

## Set up the action

1.  Open the automation builder and add a new step
2.  Under `Businesses`, select `Get contact from company`

This action has no configuration fields. It retrieves a contact linked to the company in scope.

## Outputs

After the step runs, a contact record is available in scope. Downstream steps can act on the contact directly via `Add dynamic content`.

## Related resources

-   [Actions overview](https://docs.vendasta.com/automations/my-automations/actions-overview/): Browse all available actions
-   [Get company from contact](https://docs.vendasta.com/automations/my-automations/get-company-from-contact/): Go the other direction
-   [Find contact](https://docs.vendasta.com/automations/my-automations/find-contact/): Search for a contact by field criteria
-   [Logic & flow control](https://docs.vendasta.com/automations/my-automations/logic-and-flow-control/): `If/else branch`, delays, and jump steps
-   [Creating and configuring automations](https://docs.vendasta.com/automations/my-automations/creating-and-configuring-automations/): Build and configure workflows
