{
  "$result_object_key": {
    "created_by_user_id": "US123abc",
    "custom_fields": [
      {
        "key": "inbound-lead",
        "value": "value1"
      }
    ],
    "default_fields": {
      "company": "OpenPhone",
      "emails": [
        {
          "id": "email123",
          "name": "company email",
          "value": "abc@example.com"
        }
      ],
      "first_name": "John",
      "last_name": "Doe",
      "phone_numbers": [
        {
          "id": "phone123",
          "name": "company phone",
          "value": "+12345678901"
        }
      ],
      "role": "Sales"
    },
    "external_id": "664d0db69fcac7cf2e6ec",
    "id": "664d0db69fcac7cf2e6ec",
    "source": "public-api",
    "source_url": "https://openphone.co/contacts/664d0db69fcac7cf2e6ec"
  }
}
{
  "$result_object_key": {
    "created_by_user_id": "ID of the user who created the contact",
    "custom_fields": {
      "key": "Key for the custom field",
      "value": "Values for the custom field"
    },
    "default_fields": {
      "company": "Company name of the contact",
      "emails": {
        "id": "Unique identifier for the email field",
        "name": "Name of the email field",
        "value": "Email address"
      },
      "first_name": "First name of the contact",
      "last_name": "Last name of the contact",
      "phone_numbers": {
        "id": "Unique identifier for the phone number field",
        "name": "Name of the phone number field",
        "value": "Phone number"
      },
      "role": "Role of the contact"
    },
    "external_id": "Unique identifier from an external system",
    "id": "Unique identifier for the contact",
    "source": "Source of the contact",
    "source_url": "Link to the contact in the source system"
  }
}

Parameters

Action
Parameters
{
  "$result_object_key": {
    "created_by_user_id": "US123abc",
    "custom_fields": [
      {
        "key": "inbound-lead",
        "value": "value1"
      }
    ],
    "default_fields": {
      "company": "OpenPhone",
      "emails": [
        {
          "id": "email123",
          "name": "company email",
          "value": "abc@example.com"
        }
      ],
      "first_name": "John",
      "last_name": "Doe",
      "phone_numbers": [
        {
          "id": "phone123",
          "name": "company phone",
          "value": "+12345678901"
        }
      ],
      "role": "Sales"
    },
    "external_id": "664d0db69fcac7cf2e6ec",
    "id": "664d0db69fcac7cf2e6ec",
    "source": "public-api",
    "source_url": "https://openphone.co/contacts/664d0db69fcac7cf2e6ec"
  }
}
{
  "$result_object_key": {
    "created_by_user_id": "ID of the user who created the contact",
    "custom_fields": {
      "key": "Key for the custom field",
      "value": "Values for the custom field"
    },
    "default_fields": {
      "company": "Company name of the contact",
      "emails": {
        "id": "Unique identifier for the email field",
        "name": "Name of the email field",
        "value": "Email address"
      },
      "first_name": "First name of the contact",
      "last_name": "Last name of the contact",
      "phone_numbers": {
        "id": "Unique identifier for the phone number field",
        "name": "Name of the phone number field",
        "value": "Phone number"
      },
      "role": "Role of the contact"
    },
    "external_id": "Unique identifier from an external system",
    "id": "Unique identifier for the contact",
    "source": "Source of the contact",
    "source_url": "Link to the contact in the source system"
  }
}

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.

Contact
Fetch Action Response Object