跳到正文
cccskills
免费在 GitHub 公开

extract-pricing-table-from-website

Extract plan names, prices, billing periods, and feature lists from a public pricing page.

中文简介正在准备中。当前显示原文说明。

集成工具n8n
查看安装方法

包含的文件(1)

  • SKILL.md10.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Extract Pricing Table from Website

SaaS teams and agencies use this recipe to turn competitor pricing pages into structured JSON. Extract plan names, prices, billing periods, and feature lists for monitoring, quoting, and sales enablement.

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/pricing"
    },
    "schema": {
        "fields": [
            {
                "name": "plans",
                "type": "ARRAY",
                "description": "Pricing plans shown on the page",
                "fields": [
                    {
                        "name": "plan_name",
                        "type": "TEXT",
                        "description": "Name of the pricing plan"
                    },
                    {
                        "name": "monthly_price",
                        "type": "CURRENCY_AMOUNT",
                        "description": "Advertised monthly price"
                    },
                    {
                        "name": "billing_period",
                        "type": "TEXT",
                        "description": "Billing period such as monthly or annual"
                    },
                    {
                        "name": "features",
                        "type": "ARRAY",
                        "description": "Included plan features",
                        "fields": [
                            {
                                "name": "feature",
                                "type": "TEXT",
                                "description": "Feature label"
                            }
                        ]
                    }
                ]
            }
        ]
    }
}'
import { IterationLayer } from "iterationlayer";
const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });

const result = await client.extractWebsite({
  file: {
    type: "url",
    url: "https://example.com/pricing",
  },
  schema: {
    "fields": [
      {
        "name": "plans",
        "type": "ARRAY",
        "description": "Pricing plans shown on the page",
        "fields": [
          {
            "name": "plan_name",
            "type": "TEXT",
            "description": "Name of the pricing plan"
          },
          {
            "name": "monthly_price",
            "type": "CURRENCY_AMOUNT",
            "description": "Advertised monthly price"
          },
          {
            "name": "billing_period",
            "type": "TEXT",
            "description": "Billing period such as monthly or annual"
          },
          {
            "name": "features",
            "type": "ARRAY",
            "description": "Included plan features",
            "fields": [
              {
                "name": "feature",
                "type": "TEXT",
                "description": "Feature label"
              }
            ]
          }
        ]
      }
    ]
  },
});
from iterationlayer import IterationLayer
client = IterationLayer(api_key="YOUR_API_KEY")

result = client.extract_website(
    file={
        "type": "url",
        "url": "https://example.com/pricing",
    },
    schema={
      "fields": [
        {
          "name": "plans",
          "type": "ARRAY",
          "description": "Pricing plans shown on the page",
          "fields": [
            {
              "name": "plan_name",
              "type": "TEXT",
              "description": "Name of the pricing plan"
            },
            {
              "name": "monthly_price",
              "type": "CURRENCY_AMOUNT",
              "description": "Advertised monthly price"
            },
            {
              "name": "billing_period",
              "type": "TEXT",
              "description": "Billing period such as monthly or annual"
            },
            {
              "name": "features",
              "type": "ARRAY",
              "description": "Included plan features",
              "fields": [
                {
                  "name": "feature",
                  "type": "TEXT",
                  "description": "Feature label"
                }
              ]
            }
          ]
        }
      ]
    },
)
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/pricing",
		},
		Schema: il.ExtractionSchema{
			Fields: []any{
				il.ArrayFieldConfig{
					Name: "plans",
					Type: "ARRAY",
					Description: "Pricing plans shown on the page",
					Fields: []any{
						il.TextFieldConfig{
							Name: "plan_name",
							Type: "TEXT",
							Description: "Name of the pricing plan",
						},
						il.CurrencyAmountFieldConfig{
							Name: "monthly_price",
							Type: "CURRENCY_AMOUNT",
							Description: "Advertised monthly price",
						},
						il.TextFieldConfig{
							Name: "billing_period",
							Type: "TEXT",
							Description: "Billing period such as monthly or annual",
						},
						il.ArrayFieldConfig{
							Name: "features",
							Type: "ARRAY",
							Description: "Included plan features",
							Fields: []any{
								il.TextFieldConfig{
									Name: "feature",
									Type: "TEXT",
									Description: "Feature label",
								},
							},
						},
					},
				},
			},
		},
	})
	if err != nil {
		panic(err)
	}

	_ = result
}
{
  "name": "Extract Pricing Table from Website",
  "nodes": [
    {
      "parameters": {
        "content": "## Extract Pricing Table from Website\n\nSaaS teams and agencies use this recipe to turn competitor pricing pages into structured JSON. Extract plan names, prices, billing periods, and feature lists for monitoring, quoting, and sales enablement.\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": "88888234-d21f-5db9-9db7-98c92a323806",
      "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": "589850c3-62b4-5307-9fa3-b2d1c64ee4b9",
      "name": "Step 1 Note"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "id": "2bfec09e-e8cb-5c7f-92b3-a9723e465d98",
      "name": "Manual Trigger"
    },
    {
      "parameters": {
        "resource": "websiteExtraction",
        "fileUrl": "https://example.com/pricing",
        "schemaInputMode": "rawJson",
        "schemaJson": "{\"fields\":[{\"name\":\"plans\",\"type\":\"ARRAY\",\"description\":\"Pricing plans shown on the page\",\"fields\":[{\"name\":\"plan_name\",\"type\":\"TEXT\",\"description\":\"Name of the pricing plan\"},{\"name\":\"monthly_price\",\"type\":\"CURRENCY_AMOUNT\",\"description\":\"Advertised monthly price\"},{\"name\":\"billing_period\",\"type\":\"TEXT\",\"description\":\"Billing period such as monthly or annual\"},{\"name\":\"features\",\"type\":\"ARRAY\",\"description\":\"Included plan features\",\"fields\":[{\"name\":\"feature\",\"type\":\"TEXT\",\"description\":\"Feature label\"}]}]}]}"
      },
      "type": "n8n-nodes-iterationlayer.iterationLayer",
      "typeVersion": 1,
      "position": [
        520,
        300
      ],
      "id": "81db5364-c171-568b-9351-e2aa9e82ba98",
      "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:

- plans (ARRAY): Pricing plans shown on the page. Each item has plan_name (TEXT), monthly_price (CURRENCY_AMOUNT), billing_period (TEXT), features (ARRAY)

Response

{
  "success": true,
  "data": {
    "plans": {
      "type": "ARRAY",
      "value": [
        {
          "plan_name": "Startup",
          "monthly_price": 119,
          "billing_period": "monthly",
          "features": [
            "10,000 pages",
            "Team workspace",
            "Webhook exports"
          ]
        }
      ],
      "confidence": 0.94,
      "citations": [
        "Startup $119/mo includes 10,000 pages"
      ],
      "source": "website.html"
    }
  }
}

Links

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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 的全部技能

报告此技能的问题