How to Send Web Pages to n8n with Share2Agent
Send any web page to your n8n workflows with one click. Share2Agent extracts the page content and posts it to an n8n webhook, where you can route it to AI agents, databases, Slack, Notion, or any other integration.
Prerequisites
- n8n running (self-hosted or n8n Cloud)
- Share2Agent Chrome extension installed
Step 1: Create a Workflow with a Webhook Trigger
- Open n8n and click Add workflow.
- Click Add first step and search for Webhook.
- Select the Webhook trigger node.
- Set HTTP Method to
POST. - Set Respond to
Immediately-- this ensures Share2Agent gets a fast response and does not time out. - Leave Path as the auto-generated value or set a custom one like
share2agent.
Your Webhook node config should look like this:
HTTP Method: POST
Path: share2agent
Respond: Immediately
Step 2: Copy the Webhook URL
n8n provides two URLs for every webhook:
- Test URL -- only works while the workflow editor is open and you have clicked "Listen for test event". Use this during setup.
- Production URL -- works when the workflow is active. Use this once everything is configured.
Copy the Test URL first. It looks like:
https://your-n8n.example.com/webhook-test/share2agent
Step 3: Add Processing Nodes
Add nodes after the Webhook trigger to do something with the page content. Examples:
- AI Agent -- summarize the page or extract key points using an LLM
- Markdown -- convert the content for downstream tools
- Notion / Google Sheets -- save the page to a database
- Slack / Email -- forward a summary to your team
The webhook payload from Share2Agent contains these fields you can reference in expressions:
{{ $json.url }} -- the page URL
{{ $json.title }} -- the page title
{{ $json.content }} -- extracted clean text
{{ $json.comment }} -- your instruction or note
{{ $json.timestamp }} -- ISO 8601 timestamp
{{ $json.meta }} -- object with description, og_image, author, language
Step 4: Configure Share2Agent
- Click the Share2Agent extension icon in Chrome.
- Open Settings.
- Paste the n8n webhook URL into the Webhook URL field.
- Save.
Step 5: Test the Integration
- In n8n, click Listen for test event on the Webhook node.
- Navigate to any web page in Chrome.
- Click the Share2Agent icon and hit Share.
- Switch back to n8n -- you should see the incoming data in the Webhook node output.
- Verify the fields (
url,title,content,comment,meta) are populated.
Once everything works, switch the Share2Agent webhook URL from the test URL to the production URL and activate the workflow in n8n.
Example: Save Articles to Notion
A practical workflow:
- Webhook -- receives the page from Share2Agent
- IF -- check if
commentcontains "read later" - Notion -- create a page in your Reading List database with title, URL, and a summary
- Slack -- post a confirmation message to your channel
What's Next?
- Add AI summarization -- connect an OpenAI or Anthropic node after the webhook to generate a summary before saving.
- Build a research pipeline -- route pages to different databases based on the
commentfield (e.g., "competitor" goes to one Notion DB, "reference" to another). - Set up error handling -- add an Error Trigger workflow to catch failures and notify you via Slack or email.