# Action feed

## Definitions

> [!NOTE]
> **Note:** The Action feed spec is defined in protobuffer format below, however we recommend uploading the feeds in JSON format. You can reference our [JSON sample feeds](https://developers.google.com/actions-center/verticals/appointments/redirect/reference/feeds/legacy/action-feed#samples) for more information.

## Action Feed

    message ActionFeed {
      repeated ActionDetail data = 1;
    }

## ActionDetail Definition

    message ActionDetail {
      optional string entity_id = 2;
      repeated Action actions = 1;
    }

## Action Definition

    // Information about an Action which could be performed.

    message Action {
      // Deprecated fields not to be reused.
      reserved 1;
      oneof action_info {
        AppointmentInfo appointment_info = 2;
      }
    }

## AppointmentInfo Definition

    message AppointmentInfo {
      // Deep link for appointment action.
      string url = 1;
    }

## Action Feed samples

### Action Feed

```json
{
  "data": [
    {
      "actions": [
        {
          "appointment_info": {
            "url": "https://www.epapartnerwebsite.com/appointment/appointment-partner-1"
          }
        }
      ],
      "entity_id": "appointments-merchant-1"
    }
  ]
}
```

### Descriptor File

```json
{
  "generation_timestamp": 1677540395,
  "name": "reservewithgoogle.action",
  "data_file": [
    "action_1677540395_0001.json",
    "action_1677540395_0002.json"

  ]
}
```