Automation library · Lead generation

And enrich B2B leads with Google Places and Google Sheets

Started by someone submitting a form, and works across Google Sheets. 18 steps, 3 branches, 2 loops or waits: a working afternoon to understand properly.

Medium

18 stepsMedium: a working afternoon
3Branches: places the flow splits
2Loops or waits
1Service it connects to

The flow

Starts it 1Logic 12Service 5

The steps in the order they run, from what starts it.

  1. 1Formulario de prospecciónForm triggerStarts it
  2. 2Procesar FormularioCodeLogic
  3. 3Google Places - Text SearchHttp RequestService
  4. 4Preparar negociosCodeLogic
  5. 5Loop Over Items - NegociosSplit In BatchesLogic
  6. 6Resumen finalCodeLogic
  7. 7¿Tiene web oficial?IfLogic
  8. 8Descargar web oficialHttp RequestService
  9. 9¿Falta NIT?IfLogic
  10. 10Extraer datos webCodeLogic
  11. 11Buscar NIT en Google APIHttp RequestService
  12. 12Mapear columnas SheetCodeLogic
  13. 13¿Falta Razón Social y hay Link?IfLogic
  14. 14Extraer NIT de GoogleCodeLogic
  15. 15Sheets - Upsert por Place IDGoogle SheetsService
  16. 16Descargar página legalHttp RequestService
  17. 17Pausa anti-rate-limitWaitLogic
  18. 18Extraer Razón SocialCodeLogic

How it's built

Starts on
Someone submitting a form
Steps
18, with 3 branches, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Sheets account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 18 steps before you point it at anything that matters.