本文へ移動
cccskills
無料GitHub で公開

extract-restaurant-menu-from-website

Extract menu item names, prices, descriptions, and dietary notes from a public restaurant menu page.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md9.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Extract Restaurant Menu from Website

Restaurant operators and delivery platforms use this recipe to convert public menu pages into structured menu data. Extract dishes, prices, descriptions, categories, and dietary notes from one page.

APIs Used

Website Extraction (1 credit per website extraction)

Prerequisites

You need an Iteration Layer API key. Get one at platform.iterationlayer.com during the 7-day trial.

For full integration guidance (SDKs, auth, MCP, error handling), see the Iteration Layer Integration Guide.

Implementation

curl -X POST https://api.iterationlayer.com/website-extraction/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file": {
      "type": "url",
      "url": "https://example.com/menu"
    },
    "schema": {
        "fields": [
            {
                "name": "menu_items",
                "type": "ARRAY",
                "description": "Menu items listed on the page",
                "fields": [
                    {
                        "name": "item_name",
                        "type": "TEXT",
                        "description": "Menu item name"
                    },
                    {
                        "name": "category",
                        "type": "TEXT",
                        "description": "Menu category"
                    },
                    {
                        "name": "price",
                        "type": "CURRENCY_AMOUNT",
                        "description": "Menu item price"
                    },
                    {
                        "name": "description",
                        "type": "TEXTAREA",
                        "description": "Menu item description"
                    },
                    {
                        "name": "dietary_notes",
                        "type": "TEXT",
                        "description": "Dietary labels such as vegan or gluten-free"
                    }
                ]
            }
        ]
    }
}'
import { IterationLayer } from "iterationlayer";
const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });

const result = await client.extractWebsite({
  file: {
    type: "url",
    url: "https://example.com/menu",
  },
  schema: {
    "fields": [
      {
        "name": "menu_items",
        "type": "ARRAY",
        "description": "Menu items listed on the page",
        "fields": [
          {
            "name": "item_name",
            "type": "TEXT",
            "description": "Menu item name"
          },
          {
            "name": "category",
            "type": "TEXT",
            "description": "Menu category"
          },
          {
            "name": "price",
            "type": "CURRENCY_AMOUNT",
            "description": "Menu item price"
          },
          {
            "name": "description",
            "type": "TEXTAREA",
            "description": "Menu item description"
          },
          {
            "name": "dietary_notes",
            "type": "TEXT",
            "description": "Dietary labels such as vegan or gluten-free"
          }
        ]
      }
    ]
  },
});
from iterationlayer import IterationLayer
client = IterationLayer(api_key="YOUR_API_KEY")

result = client.extract_website(
    file={
        "type": "url",
        "url": "https://example.com/menu",
    },
    schema={
      "fields": [
        {
          "name": "menu_items",
          "type": "ARRAY",
          "description": "Menu items listed on the page",
          "fields": [
            {
              "name": "item_name",
              "type": "TEXT",
              "description": "Menu item name"
            },
            {
              "name": "category",
              "type": "TEXT",
              "description": "Menu category"
            },
            {
              "name": "price",
              "type": "CURRENCY_AMOUNT",
              "description": "Menu item price"
            },
            {
              "name": "description",
              "type": "TEXTAREA",
              "description": "Menu item description"
            },
            {
              "name": "dietary_notes",
              "type": "TEXT",
              "description": "Dietary labels such as vegan or gluten-free"
            }
          ]
        }
      ]
    },
)
package main

import il "github.com/iterationlayer/sdk-go"

func main() {
	client := il.NewClient("YOUR_API_KEY")

	result, err := client.ExtractWebsite(il.ExtractWebsiteRequest{
		File: il.UrlFileInput{
			Type: "url",
			Url: "https://example.com/menu",
		},
		Schema: il.ExtractionSchema{
			Fields: []any{
				il.ArrayFieldConfig{
					Name: "menu_items",
					Type: "ARRAY",
					Description: "Menu items listed on the page",
					Fields: []any{
						il.TextFieldConfig{
							Name: "item_name",
							Type: "TEXT",
							Description: "Menu item name",
						},
						il.TextFieldConfig{
							Name: "category",
							Type: "TEXT",
							Description: "Menu category",
						},
						il.CurrencyAmountFieldConfig{
							Name: "price",
							Type: "CURRENCY_AMOUNT",
							Description: "Menu item price",
						},
						il.TextareaFieldConfig{
							Name: "description",
							Type: "TEXTAREA",
							Description: "Menu item description",
						},
						il.TextFieldConfig{
							Name: "dietary_notes",
							Type: "TEXT",
							Description: "Dietary labels such as vegan or gluten-free",
						},
					},
				},
			},
		},
	})
	if err != nil {
		panic(err)
	}

	_ = result
}
{
  "name": "Extract Restaurant Menu from Website",
  "nodes": [
    {
      "parameters": {
        "content": "## Extract Restaurant Menu from Website\n\nRestaurant operators and delivery platforms use this recipe to convert public menu pages into structured menu data. Extract dishes, prices, descriptions, categories, and dietary notes from one page.\n\n**Note:** This workflow uses the Iteration Layer community node (`n8n-nodes-iterationlayer`). Install it via Settings > Community Nodes before importing. Self-hosted n8n only.",
        "height": 280,
        "width": 500,
        "color": 2
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        200,
        40
      ],
      "id": "fc2184f4-0e68-5159-9780-77c40c7b98ef",
      "name": "Overview"
    },
    {
      "parameters": {
        "content": "### Step 1: Extract Website Data\nResource: **Website Extraction**\n\nConfigure the public website URL and schema below, then connect your credentials.",
        "height": 160,
        "width": 320,
        "color": 6
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        475,
        100
      ],
      "id": "ee1432e8-a3b8-558f-8fbb-6e780a05ec9d",
      "name": "Step 1 Note"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "id": "a52c9351-cb97-5642-9a0e-1bf92f5d4826",
      "name": "Manual Trigger"
    },
    {
      "parameters": {
        "resource": "websiteExtraction",
        "fileUrl": "https://example.com/menu",
        "schemaInputMode": "rawJson",
        "schemaJson": "{\"fields\":[{\"name\":\"menu_items\",\"type\":\"ARRAY\",\"description\":\"Menu items listed on the page\",\"fields\":[{\"name\":\"item_name\",\"type\":\"TEXT\",\"description\":\"Menu item name\"},{\"name\":\"category\",\"type\":\"TEXT\",\"description\":\"Menu category\"},{\"name\":\"price\",\"type\":\"CURRENCY_AMOUNT\",\"description\":\"Menu item price\"},{\"name\":\"description\",\"type\":\"TEXTAREA\",\"description\":\"Menu item description\"},{\"name\":\"dietary_notes\",\"type\":\"TEXT\",\"description\":\"Dietary labels such as vegan or gluten-free\"}]}]}"
      },
      "type": "n8n-nodes-iterationlayer.iterationLayer",
      "typeVersion": 1,
      "position": [
        520,
        300
      ],
      "id": "2552c7e6-c739-5ca5-851d-fe90c2c4ac95",
      "name": "Extract Website Data",
      "credentials": {
        "iterationLayerApi": {
          "id": "1",
          "name": "Iteration Layer API"
        }
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Extract Website Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}
Extract structured data from the public website page at [website URL]. Use the extract_website tool with this schema:

- menu_items (ARRAY): Menu items listed on the page. Each item has item_name (TEXT), category (TEXT), price (CURRENCY_AMOUNT), description (TEXTAREA), dietary_notes (TEXT)

Response

{
  "success": true,
  "data": {
    "menu_items": {
      "type": "ARRAY",
      "value": [
        {
          "item_name": "Roasted Vegetable Bowl",
          "category": "Mains",
          "price": 14.5,
          "description": "Seasonal vegetables with lemon tahini",
          "dietary_notes": "Vegan"
        }
      ],
      "confidence": 0.92,
      "citations": [
        "Roasted Vegetable Bowl - Vegan - 14.50"
      ],
      "source": "website.html"
    }
  }
}

Links

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Resize, sharpen, and compress an image to fit email platform size limits in a single pipeline.

日本語の概要は準備中です。原文の説明を表示しています。

iterationlayer/skills42026年6月9日 更新

Compress an image to fit within a specific file size in bytes using quality-first compression.

日本語の概要は準備中です。原文の説明を表示しています。

iterationlayer/skills42026年6月9日 更新

Convert a contract PDF to clean markdown for clause extraction or LLM analysis.

日本語の概要は準備中です。原文の説明を表示しています。

iterationlayer/skills42026年6月9日 更新

Convert external documents — specs, contracts, reports — to markdown for knowledge base ingestion.

日本語の概要は準備中です。原文の説明を表示しています。

iterationlayer/skills42026年6月9日 更新

Convert a document to clean markdown suitable for chunking and embedding in a RAG pipeline.

日本語の概要は準備中です。原文の説明を表示しています。

iterationlayer/skills42026年6月9日 更新

Convert an image between PNG, JPEG, and WebP formats with quality control for web optimization.

日本語の概要は準備中です。原文の説明を表示しています。

iterationlayer/skills42026年6月9日 更新

iterationlayer のスキルをすべて見る

このスキルの問題を報告する