Перейти к содержанию
НОВОЕМаркетплейс и trig8n Agent: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Веб-скрейпинг и исследования

Веб-скрейпинг и исследования

Извлечение сущностей Google из веб-страницы

Когда вебхук получает URL, загружает страницу и возвращает сущности, обнаруженные языковым API Google.

Что делает

# Google Page Entity Extraction Template ## What this workflow does This workflow allows you to extract named entities (people, organizations, locations, etc.) from any web page using Google's Natural Language API. Simply send a URL to the webhook endpoint, and the workflow will fetch the page content, process it through Google's entity recognition service, and return the structured entity data. ### How to use 1. Replace "YOUR-GOOGLE-API-KEY" with your actual Google Cloud API key (Natural Language API must be enabled) 2. Activate the workflow and use the webhook URL as your endpoint 3. Send a POST request to the webhook with a JSON body containing the URL you want to analyze: {"url": "https://example.com/page"} 4. Review the returned entity analysis with categories, salience scores, and metadata ## Webhook Input Format The webhook expects a POST request with a JSON body in this format: json { "url": "https://website-to-analyze.com/page" } ### Response Format The webhook returns a JSON response containing the full entity analysis from Google's Natural Language API, including: Entity names and types (PERSON, LOCATION, ORGANIZATION, etc.) Salience scores indicating entity importance Metadata and mentions within the text Entity sentiment (if available)

Шаги

  1. Respond to Webhook
  2. Google Entities
  3. Get Url
  4. Get URL Page Contents
  5. Respond with detected entities

Похожие автоматизации