Extract entities from a web page with Google NLP
This n8n workflow pulls named entities such as people, organizations and locations out of any web page using Google's Natural Language API. It is for SEO specialists and analysts who want to see which entities a page talks about by sending one URL to a webhook.
What it does
The webhook receives the URL, an HTTP request fetches the page content, another sends the text to the Google entities endpoint, and a code node formats the detected entities for the webhook response.
How to use it
Replace YOUR-GOOGLE-API-KEY with your Google Cloud API key that has the Natural Language API enabled, then call the webhook with a URL.
Requirements and limits
Google Cloud bills Natural Language API calls beyond its free tier.
More in Other and the n8n workflow library.
Full text
Front matter
name: Google Page Entity Extraction Template
description: Triggered by a webhook. Connects Code, HTTP request, Respond To Webhook, Webhook. # 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 Lang
category: Automation
kind: Workflow
software: Code|HTTP request|Respond To Webhook|WebhookGoogle Page Entity Extraction Template
Triggered by a webhook. Connects Code, HTTP request, Respond To Webhook, Webhook. # 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
- Replace "YOUR-GOOGLE-API-KEY" with your actual Google Cloud API key (Natural Lang
Steps
- Respond to Webhook (respondToWebhook)
- Google Entities (httpRequest)
- Sticky Note (stickyNote)
- Get Url (webhook)
- Get URL Page Contents (httpRequest)
- Respond with detected entities (code)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source and license
Source: https://github.com/Zie619/n8n-workflows/blob/main/Code/0980_Code_Webhook_Automation_Webhook.md
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- Code Workflow: n8n, Code and HTTP request
- Webhook Workflow: HTTP request, Respond To Webhook and Webhook
- Manualtrigger Workflow: Function, HTTP request and Html Extract
- Webhook Workflow: Respond To Webhook and Webhook (n8n workflow collection) (Respondtowebhook) (410)
- Splitout Workflow: n8n, Condition and HTTP request
- Httprequest Workflow: Slack, Airtable and Code
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.