Zum Inhalt springen
NEUMarktplatz und trig8n Agent: Verkaufen Sie, was Sie bauen, und erhalten Sie Pläne und Änderungen, die getestet sind, bevor Sie sie sehen. Neuigkeiten ansehen

Bibliothek / Web Scraping & Recherche

Web Scraping & Recherche

Google-Entitäten aus einer Webseite extrahieren

Wenn ein Webhook eine URL erhält, lädt es die Seite und liefert die Entitäten zurück, die Googles Language-API erkennt.

Was sie bewirkt

# 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)

Die Schritte

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

Ähnliche Automatisierungen