# Find the details

> Replaced by an AI agent step. Give the agent the details to find as its fields.

Source: https://docs.go-lumen.ai/de/reference/steps/find-details

## Auf einen Blick

| Eigenschaft | Wert |
| --- | --- |
| **Schrittname** | `find-details` |
| **Ressource** | ClusterStep (`lumen.ai/v1alpha1`) |
| **Palettengruppe, Kategorie** | extract, ai |
| **Credits** | **1** Credit bei jedem Erfolg |
| **Externe Wirkung** | nein |
| **Die Installation muss bereitstellen** | nichts |

## Eingaben

| Eigenschaft | Wert |
| --- | --- |
| **Braucht** | `text` |
| **Liefert** | `fields` |
| **Arbeitet auf** | item: einem Dokument nach dem anderen |

Braucht und Liefert sind Datentypen (file, text, fields, email). Der Editor bietet einen Schritt nur dort an, wo das, was er braucht, schon auf dem Pfad liegt. Siehe [Dokumente und Daten](https://docs.go-lumen.ai/de/concepts/how-flows-run.md#documents-and-data).

## Ausgaben

More outputs are declared in the setting \`fields\`.

## Einstellungen

Wird unter `config:` im Knoten des Flows gesetzt. Texteinstellungen dürfen Platzhalter wie `{nodeId.field}` enthalten.

| Einstellung | Typ | Standardwert | Beschreibung |
| --- | --- | --- | --- |
| `method` | string | `"rules"` | Method is how the details are found: rules (labels, free, the default) or ai (a model call). (one of rules, ai) |
| `fields` | list of object |  | Fields are the details to find, named by the customer. Unset means the invoice defaults: supplier, date, total, invoice number. (minItems 1) |
| `fields[].name` (erforderlich) | string |  | (minLength 1) |
| `fields[].hint` | string |  | Hint is more labels to look for, comma separated: "Amount due, סכום". |
| `fields[].type` | string |  | Type is what the detail is: string, number, date (YYYY-MM-DD) or money ({amount, currency}). Unset is string, except that a known detail (date, total) keeps its own type. (one of string, number, date, money) |

Das vollständige JSON Schema dieser Einstellungen: [find-details.schema.json](https://docs.go-lumen.ai/schemas/steps/find-details.schema.json).

## Im Flow verwenden

Ein Knoten, der `find-details` ausführt, steht unter `spec.nodes` eines [Flow](https://docs.go-lumen.ai/de/concepts/how-flows-run.md#the-flow-as-yaml). Geben Sie ihm eine beliebige id und nennen Sie in next die ids der nächsten Knoten.

```yaml title="flow.yaml"
apiVersion: lumen.ai/v1alpha1
kind: Connector
metadata:
  name: my-webhook
  namespace: tenant-acme
spec:
  classRef: {name: webhook}
  config: {}
---
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
  name: find-details-example
  namespace: tenant-acme
spec:
  displayName: "Find the details"
  triggers:
    - id: start
      ref: {name: webhook-received}
      connectorRef: {name: my-webhook}
      next: [find-details]
  nodes:
    - id: find-details
      stepRef: {name: find-details}
```
