> ## Documentation Index
> Fetch the complete documentation index at: https://docs.morf.health/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Contact

> Documentation for the Get Contact action for Active Campaign

<img src="https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/active_campaign.svg?fit=max&auto=format&n=EU2WCxuXGIUQcziR&q=85&s=c21732e6d31462ae53f8b0d3216b0236" alt="images/active_campaign.svg" width="40" height="40" data-path="images/active_campaign.svg" />

# Parameters

<ResponseField name="Action" type="Parameters">
  <Expandable title="parameters" defaultOpen="true">
    <ResponseField name="Email" type="string">
      `PII`
    </ResponseField>

    <ResponseField name="Contact ID" type="string">
      `ID`
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```json Result Object Example theme={null}
  {
    "$result_object_key": {
      "customer_account_name": "Morf",
      "email": "john.doe@gmail.com",
      "field_values": {
        "Age Group": ">60",
        "Timezone": "America/Los_Angeles"
      },
      "first_name": "John",
      "id": "10",
      "ip": "1.2.3.4",
      "last_name": "Doe",
      "organization_name": "Morf",
      "phone": "+15551234123",
      "tags": [
        "tag1",
        "tag2"
      ],
      "updated_at": "2024-01-01T09:00:00Z"
    }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Result Object Description theme={null}
  {
    "$result_object_key": {
      "customer_account_name": "Customer account name",
      "email": "Email address",
      "field_values": "Custom fields' values",
      "first_name": "First name",
      "id": "ID",
      "ip": "IP address",
      "last_name": "Last name",
      "organization_name": "Organization name (if plan allows)",
      "phone": "Phone number",
      "tags": "Tags",
      "updated_at": "When a webhook ran for the contact"
    }
  }
  ```
</ResponseExample>

### Result Object Field Details

You can use the result of the action's data as inputs to downstream workflow actions.

Each fetch action requires a result object key to be specified which will nest the action's result data inside the downstream data context in the Workflow.

Here we demonstrate how to refer to this data using the prefix `$result_object_key`.

<ResponseField name="Contact" type="Fetch Action Response Object">
  <Expandable title="fields" defaultOpen="true">
    <ResponseField name="id" type="string" required>
      `ID` ID

      ```json CEL theme={null}
      $result_object_key.id
      ```

      ```json Example theme={null}
      "10"
      ```
    </ResponseField>

    <ResponseField name="email" type="string" required>
      `PII` Email address

      ```json CEL theme={null}
      $result_object_key.email
      ```

      ```json Example theme={null}
      "john.doe@gmail.com"
      ```
    </ResponseField>

    <ResponseField name="first_name" type="string">
      `PII` First name

      ```json CEL theme={null}
      $result_object_key.first_name
      ```

      ```json Example theme={null}
      "John"
      ```
    </ResponseField>

    <ResponseField name="last_name" type="string">
      `PII` Last name

      ```json CEL theme={null}
      $result_object_key.last_name
      ```

      ```json Example theme={null}
      "Doe"
      ```
    </ResponseField>

    <ResponseField name="phone" type="string">
      `PII` Phone number

      ```json CEL theme={null}
      $result_object_key.phone
      ```

      ```json Example theme={null}
      "+15551234123"
      ```
    </ResponseField>

    <ResponseField name="tags" type="[]string" required>
      `HI` `PII` Tags

      ```json CEL theme={null}
      $result_object_key.tags
      ```

      ```json Example theme={null}
      [
      "tag1",
      "tag2"
      ]
      ```
    </ResponseField>

    <ResponseField name="organization_name" type="string">
      Organization name (if plan allows)

      ```json CEL theme={null}
      $result_object_key.organization_name
      ```

      ```json Example theme={null}
      "Morf"
      ```
    </ResponseField>

    <ResponseField name="ip" type="string">
      `PII` IP address

      ```json CEL theme={null}
      $result_object_key.ip
      ```

      ```json Example theme={null}
      "1.2.3.4"
      ```
    </ResponseField>

    <ResponseField name="field_values" type="object" required>
      `HI` `ID` `PII` Custom fields' values

      ```json CEL theme={null}
      $result_object_key.field_values
      ```

      ```json Example theme={null}
      {
      "Age Group": ">60",
      "Timezone": "America/Los_Angeles"
      }
      ```
    </ResponseField>

    <ResponseField name="updated_at" type="timing.v1.Timestamp" required>
      When a webhook ran for the contact

      ```json CEL theme={null}
      $result_object_key.updated_at
      ```

      ```json Example theme={null}
      "2024-01-01T09:00:00Z"
      ```
    </ResponseField>

    <ResponseField name="customer_account_name" type="string">
      Customer account name

      ```json CEL theme={null}
      $result_object_key.customer_account_name
      ```

      ```json Example theme={null}
      "Morf"
      ```
    </ResponseField>
  </Expandable>
</ResponseField>
