AutomationFlowsWeb Scraping › Automated Recipe Finder with an API - N8n API Tutorial Material

Automated Recipe Finder with an API - N8n API Tutorial Material

ByMilan Vasarhelyi - SmoothWork @vasarmilan on n8n.io

[](https://youtu.be/mMEX4Zsz4XY)

Event trigger★★☆☆☆ complexity6 nodesFormForm TriggerHTTP Request
Web Scraping Trigger: Event Nodes: 6 Complexity: ★★☆☆☆ Added:

This workflow corresponds to n8n.io template #7835 — we link there as the canonical source.

This workflow follows the Form → Form Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "id": "2bbcb8e8-b63f-45a8-b141-07300ef724ba",
      "name": "Form",
      "type": "n8n-nodes-base.form",
      "position": [
        448,
        0
      ],
      "parameters": {
        "options": {},
        "operation": "completion",
        "completionTitle": "={{ $json.title }}",
        "completionMessage": "=<h3>Ingredients</h3>\n{{ $json.ingredients }}\n\n\n<h3>Instructions</h3>\n{{ $json.instructions }}"
      },
      "typeVersion": 1
    },
    {
      "id": "51dbc266-c345-4334-9349-f66a45ff5350",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {
        "options": {},
        "formTitle": "Find a recipe",
        "formFields": {
          "values": [
            {
              "fieldLabel": "query"
            }
          ]
        },
        "responseMode": "lastNode"
      },
      "typeVersion": 2.2
    },
    {
      "id": "891b66aa-1620-4867-b27c-b978588a5462",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        208,
        0
      ],
      "parameters": {
        "url": "https://api.api-ninjas.com/v1/recipe",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "query",
              "value": "={{ $json.query }}"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "contact-note-1759910018486",
      "name": "Creator Contact Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -670
      ],
      "parameters": {
        "color": 5,
        "width": 600,
        "height": 440,
        "content": "# Contact Us:\n## Milan @ SmoothWork - [Book a Free Consulting Call](https://smoothwork.ai/book-a-call/)\n![Milan](https://gravatar.com/avatar/95700d17ba300a9f14c1b8cacf933df7720027b3adda9cbe6183d89142925422?r=pg&d=retro&size=100)\n\n\n### We help businesses eliminate busywork by building compact business tools tailored to your process.\n### Contact us for customizing this, or building similar automations.\n\n\ud83d\udce7 hello@smoothwork.ai\n\u25b6\ufe0f [Check us on YouTube](https://www.youtube.com/@vasarmilan)\n\ud83d\udcde [Book a Free Consulting Call](https://smoothwork.ai/book-a-call/)\n\ud83d\udcbc [Add me on Linkedin](https://www.linkedin.com/in/mil%C3%A1n-v%C3%A1s%C3%A1rhelyi-3a9985123/)\n"
      },
      "typeVersion": 1
    },
    {
      "id": "doc-note-1759910018486",
      "name": "Workflow Description",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -230
      ],
      "parameters": {
        "width": 600,
        "height": 900,
        "content": "## Workflow Overview\n\nThis workflow creates a simple recipe finder web application. Users submit a recipe search query through a web form, which triggers an API call to fetch matching recipes. The results\u2014including the recipe title, ingredients, and cooking instructions\u2014are then displayed in a formatted completion page.\n\n### First Setup\n\n1. **Register for API Ninjas**: Sign up at API Ninjas to access their Recipe API\n2. **Get your API Key**: Locate your API key in the API Ninjas dashboard\n3. **Configure Credentials**: In n8n, create a new **Header Auth** credential\n   - Set the header name to match the API requirement (e.g., 'X-Api-Key')\n   - Paste your API key as the value\n   - Apply this credential to the HTTP Request node\n\n### Configuration\n\nThe workflow uses a **Form Trigger** that generates a public URL where users can submit their recipe queries. The 'query' field captures what type of recipe users want to find. The HTTP Request node sends this query to the Recipe API, and the final Form node displays the formatted results.\n\nYou can customize the form title, field labels, and the completion message HTML to match your branding or preferences."
      },
      "typeVersion": 1
    },
    {
      "id": "video-note-1759912267933",
      "name": "Video Walkthrough",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -90,
        -670
      ],
      "parameters": {
        "width": 420,
        "height": 340,
        "content": "# Video Walkthrough\n[![image.png](https://vasarmilan-public.s3.us-east-1.amazonaws.com/blog_thumbnails/thumbnail_recux4gNImLpzqvyd.jpg)](https://youtu.be/mMEX4Zsz4XY)"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

[](https://youtu.be/mMEX4Zsz4XY)

Source: https://n8n.io/workflows/7835/ — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

This workflow automates the process of extracting text from receipt or document images using OCR.space and presenting the results in a clean, styled form.

Form Trigger, HTTP Request, Form
Web Scraping

Create Digital Checks with OnlineCheckWriter using Forms This workflow automates the process of creating and sending digital checks through OnlineCheckWriter's API using user-friendly forms. Perfect f

Form Trigger, Form, HTTP Request
Web Scraping

Easily generate QR codes from any URL! This workflow lets users submit a URL via a simple form and instantly receive a downloadable QR code image—perfect for quick sharing or promotions. Setup is fast

Form Trigger, HTTP Request, Form
Web Scraping

This is an example of a simple AI chatbot that has access to external knowledge to augment its responses.

HTTP Request, Form Trigger, Form
Web Scraping

This workflow allows you to import any workflow from a file or another n8n instance and map the credentials easily. A multi-form setup guides you through the entire process At the beginning you have t

Execute Command, Read Write File, HTTP Request +3