# Find Automation References

Searches existing emails, SMS, tags, fields, signatures, calendars, outbounds, Facebook audiences, automations or saved segment selectors by name to resolve automation editor IDs, without connection secrets. Email IDs are message references; event conditions use their smart tags from get-automation-email or get-notification-email. Create missing tags or fields with the tag/field tools.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "automation-email",
        "notification-email",
        "automation-sms",
        "notification-sms",
        "tag",
        "field",
        "signature",
        "calendar",
        "outbound",
        "facebook-audience",
        "automation",
        "segment"
      ]
    },
    "query": {
      "type": "string",
      "default": "",
      "maxLength": 250
    },
    "offset": {
      "type": "integer",
      "default": 0,
      "minimum": 0
    },
    "limit": {
      "type": "integer",
      "default": 25,
      "minimum": 1,
      "maximum": 100
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "kind"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "items",
    "nextOffset"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": [
              "integer",
              "string"
            ]
          },
          "name": {
            "type": "string"
          }
        }
      }
    },
    "nextOffset": {
      "type": [
        "integer",
        "null"
      ]
    }
  }
}
```

