# AFM Search

**AFM Search** looks up a Greek company by VAT number (ΑΦΜ). Name, legal form, address, activity, status go to later nodes.

  <ShotPlaceholder
    src="/assets/workflow-nodes/afm-search.png"
    name="wn-afm"
    alt="AFM Search — AFM field"
    capture="AFM Search node. 1600×900. AFM field. No real VAT numbers."
  />

## Why this node

Verify the business on the line before you file a CRM row. It is not a general company search — only Greek ΑΦΜ.

## What you configure

- **AFM (ΑΦΜ)** (required) — Usually a During Call parameter or an earlier node. Insert variable (dates, call, schedule, nodes).

Ports: **Company found**, **Not found**, **No wait**.

## First setup — collect ΑΦΜ, confirm the name

1. [During Call](https://docs.voicelogica.ai/workflows/during-call/) — required parameter for the ΑΦΜ. Ask them to say digits or use [On Key Pressed](https://docs.voicelogica.ai/workflows/keyword-pressed/).

2. **AFM Search**. Insert that parameter.

     <ShotPlaceholder
       src="/assets/workflow-nodes/afm-search-filled.png"
       name="afm-search-filled"
       alt="AFM Search filled"
       capture="Workflow builder → AFM Search selected. AFM field mapped to the During Call parameter. 1600×900. Redact numbers/emails/PINs. No real VAT numbers."
     />

3. **Company found** → [AI Response](https://docs.voicelogica.ai/workflow-nodes/ai-response/) that reads back the company name. **Not found** → ask them to repeat.

4. **Save & go live**, attach, try a number you know is valid and one that is not.

## What “broken” looks like

- **Needs setup** — empty AFM.
- Always **Not found** — extra spaces, missing leading zero, or a spoken digit error. Prefer keypad.

## Troubleshooting

**Do I need If/then after this?**

Usually no. The node already has found / not found ports. If/then is for a field *inside* a found record.

## Next Steps

[During Call](https://docs.voicelogica.ai/workflows/during-call/).  
[On Key Pressed](https://docs.voicelogica.ai/workflows/keyword-pressed/).  
[HubSpot nodes](https://docs.voicelogica.ai/workflow-nodes/hubspot/) — write the company after you found it.
