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

# Workflows

> Notifications for "Send JSON" actions used in Workflows

<ResponseField name="email_message" type="object" required>
  <Expandable title="properties">
    <ResponseField name="id" type="string" />

    <ResponseField name="from" type="string" />

    <ResponseField name="to" type="string" />

    <ResponseField name="cc" type="string" />

    <ResponseField name="bcc" type="string" />

    <ResponseField name="subject" type="string" />

    <ResponseField name="snippet" type="string" />

    <ResponseField name="last_message" type="string" />

    <ResponseField name="body" type="string" />

    <ResponseField name="tag" type="array[enum[string]]">
      Available values are `interested`, `hard_no`, `introduction`, `not_interested`, `ooo`, `asked_to_circle_back_later`, `not_the_right_person`, `forwarded_to_the_right_person`
    </ResponseField>

    <ResponseField name="date" type="datetime" />
  </Expandable>
</ResponseField>

<ResponseField name="sequence_stage" type="object">
  <Expandable title="properties">
    <ResponseField name="index" type="integer" />

    <ResponseField name="sending_date" type="datetime" />
  </Expandable>
</ResponseField>

<ResponseField name="sequence" type="object">
  <Expandable title="properties">
    <ResponseField name="key" type="string" />

    <ResponseField name="name" type="string" />

    <ResponseField name="start_date" type="datetime" />
  </Expandable>
</ResponseField>

<ResponseField name="user" type="object" required>
  <Expandable title="properties">
    <ResponseField name="email" type="string" />
  </Expandable>
</ResponseField>

<ResponseField name="lead" type="object">
  <Expandable title="properties">
    <ResponseField name="email" type="string" />

    <ResponseField name="first_name" type="string" />

    <ResponseField name="last_name" type="string" />

    <ResponseField name="company_name" type="string" />

    <ResponseField name="company_domain" type="string" />
  </Expandable>
</ResponseField>

<Warning>
  In scenarios where the `not_the_right_person` tag is used please note that the third-party information sent refers to the details of the originally contacted person.

  Meanwhile, the lead details will now be updated to reflect the newly-referred person who is considered a more appropriate contact for the ongoing sales process.
</Warning>

<RequestExample>
  ```js Reply theme={null}
  {
    "email_message": {
      "id": "47f5d8c2-aa96-42ac-a6f0-6507e78b8b9b",
      "from": "\"Sender\" <noreply@amplemarket.com>",
      "to": "\"Recipient 1\" <noreply@amplemarket.com>,\"Recipient 2\" <noreply@amplemarket.com>, ",
      "cc": "\"Carbon Copy\" <noreply@amplemarket.com>",
      "bcc": "\"Blind Carbon Copy\" <noreply@amplemarket.com>",
      "subject": "The subject of the message",
      "snippet": "A short snippet of the email message.",
      "last_message": "A processed version of the message (without salutation and signature).",
      "body": "The original email message body.",
      "tag": [
        "interested"
      ],
      "date": "2019-11-27T12:37:46+00:00"
    },
    "sequence_stage": {
      "index": 3,
      "sending_date": "2019-11-27T07:37:46Z"
    },
    "sequence": {
      "key": "b7ff348ea1a061e39cbe703880048d64171d8487",
      "name": "The name of the sequence",
      "start_date": "2019-11-24T12:37:46Z"
    },
    "user": {
      "email": "test@amplemarket.com"
    }
    "lead": {
      "email": "noreply@amplemarket.com",
      "first_name": "John",
      "last_name": "Doe",
      "company_name": "Company",
      "company_domain": "company.com"
    }
  }
  ```

  ```js Out of Office theme={null}
  {
    "email_message": {
      "id": "47f5d8c2-aa96-42ac-a6f0-6507e78b8b9b",
      "from": "\"Sender\" <noreply@amplemarket.com>",
      "to": "\"Recipient 1\" <noreply@amplemarket.com>,\"Recipient 2\" <noreply@amplemarket.com>, ",
      "cc": "\"Carbon Copy\" <noreply@amplemarket.com>",
      "bcc": "\"Blind Carbon Copy\" <noreply@amplemarket.com>",
      "subject": "The subject of the message",
      "snippet": "A short snippet of the email message.",
      "last_message": "A processed version of the message (without salutation and signature).",
      "body": "The original email message body.",
      "tag": [
        "ooo"
      ],
      "date": "2019-11-27T12:37:46+00:00"
    },
    "sequence_stage": {
      "index": 3,
      "sending_date": "2019-11-27T07:37:46Z"
    },
    "sequence": {
      "key": "b7ff348ea1a061e39cbe703880048d64171d8487",
      "name": "The name of the sequence",
      "start_date": "2019-11-24T12:37:46Z"
    },
    "user": {
      "email": "test@amplemarket.com"
    }
    "lead": {
      "email": "noreply@amplemarket.com",
      "first_name": "John",
      "last_name": "Doe",
      "company_name": "Company",
      "company_domain": "company.com"
    }
    "additional_info": {
      "return_date": "2023-01-01"
    }
  }
  ```

  ```js Follow Up theme={null}
  {
    "email_message": {
      "id": "47f5d8c2-aa96-42ac-a6f0-6507e78b8b9b",
      "from": "\"Sender\" <noreply@amplemarket.com>",
      "to": "\"Recipient 1\" <noreply@amplemarket.com>,\"Recipient 2\" <noreply@amplemarket.com>, ",
      "cc": "\"Carbon Copy\" <noreply@amplemarket.com>",
      "bcc": "\"Blind Carbon Copy\" <noreply@amplemarket.com>",
      "subject": "The subject of the message",
      "snippet": "A short snippet of the email message.",
      "last_message": "A processed version of the message (without salutation and signature).",
      "body": "The original email message body.",
      "tag": [
        "asked_to_circle_back_later"
      ],
      "date": "2019-11-27T12:37:46+00:00"
    },
    "sequence_stage": {
      "index": 3,
      "sending_date": "2019-11-27T07:37:46Z"
    },
    "sequence": {
      "key": "b7ff348ea1a061e39cbe703880048d64171d8487",
      "name": "The name of the sequence",
      "start_date": "2019-11-24T12:37:46Z"
    },
    "user": {
      "email": "test@amplemarket.com"
    }
    "lead": {
      "email": "noreply@amplemarket.com",
      "first_name": "John",
      "last_name": "Doe",
      "company_name": "Company",
      "company_domain": "company.com"
    }
    "additional_info": {
      "follow_up_date": "2023-01-01"
    }
  }
  ```

  ```js Not The Right Person theme={null}
  {
    "email_message": {
      "id": "47f5d8c2-aa96-42ac-a6f0-6507e78b8b9b",
      "from": "\"Sender\" <noreply@amplemarket.com>",
      "to": "\"Recipient 1\" <noreply@amplemarket.com>,\"Recipient 2\" <noreply@amplemarket.com>, ",
      "cc": "\"Carbon Copy\" <noreply@amplemarket.com>",
      "bcc": "\"Blind Carbon Copy\" <noreply@amplemarket.com>",
      "subject": "The subject of the message",
      "snippet": "A short snippet of the email message.",
      "last_message": "A processed version of the message (without salutation and signature).",
      "body": "The original email message body.",
      "tag": [
        "not_the_right_person"
      ],
      "date": "2019-11-27T12:37:46+00:00"
    },
    "sequence_stage": {
      "index": 3,
      "sending_date": "2019-11-27T07:37:46Z"
    },
    "sequence": {
      "key": "b7ff348ea1a061e39cbe703880048d64171d8487",
      "name": "The name of the sequence",
      "start_date": "2019-11-24T12:37:46Z"
    },
    "user": {
      "email": "test@amplemarket.com"
    }
    "lead": {
      "email": "noreply@amplemarket.com",
      "first_name": "Jane",
      "last_name": "Doe",
      "company_name": "Company",
      "company_domain": "company.com"
    }
    "additional_info": {
      "third_party_email": "noreply@amplemarket.com",
      "third_party_first_name": "John",
      "third_party_last_name": "Doe",
      "third_party_company_name": "Company",
      "third_party_company_domain": "company.com"
    }
  }
  ```
</RequestExample>
