chrome extension backend with AI
Build a powerful AI-driven backend for your Chrome extension with this workflow, allowing your extension to send user input to OpenAI and receive intelligent responses. This workflow starts with a Webhook trigger, ready to receive data from your Chrome extension, which then passes that input directly to the OpenAI node for processing using its advanced language models. Once OpenAI generates a response, the workflow uses the Respond to Webhook node to instantly send the AI-generated content back to your Chrome extension, providing real-time, dynamic functionality to your users. This is ideal for developers creating extensions that summarize web pages, generate content, answer questions, or provide AI-powered assistance directly within the browser, significantly reducing the development time and infrastructure costs associated with building and maintaining a custom AI backend.
Workflow JSON
{"id": "Q8On8rR6BkmPzDUd", "meta": {"instanceId": "f57770b08f6a574802832e927ed1b0063c627ffc5b95965abf0d4a7396150138"}, "name": "chrome extension backend with AI", "tags": [], "nodes": [{"id": "0f38fe62-36d9-43da-a992-a3981377e89e", "name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [-220, -20], "webhookId": "e9a97dd5-f1e7-4d5b-a6f1-be5f0c9eb96c", "parameters": {"path": "e9a97dd5-f1e7-4d5b-a6f1-be5f0c9eb96c", "options": {}, "httpMethod": "POST", "responseMode": "responseNode"}, "typeVersion": 2}, {"id": "83959562-edf5-4d37-bd11-47186c6a31c7", "name": "OpenAI", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [-40, -20], "parameters": {"text": "You are an expert financial analyst tasked with providing an advanced technical analyses of a stock or crypto currency chart provided. Your analysis will be based on various technical indicators and will provide simple insights for novice traders. Just explain to traders were you expect the market is moving. Also warn them this is not a binding advice. Make sure to explain everything in infant language.", "modelId": {"__rl": true, "mode": "list", "value": "gpt-4o-mini", "cachedResultName": "GPT-4O-MINI"}, "options": {}, "resource": "image", "inputType": "base64", "operation": "analyze"}, "credentials": {"openAiApi": {"id": "", "name": "[Your openAiApi]"}}, "typeVersion": 1.7}, {"id": "c6f1f833-7ba3-49c5-86df-f586e6bb5975", "name": "Respond to Webhook", "type": "n8n-nodes-base.respondToWebhook", "position": [140, -20], "parameters": {"options": {}, "respondWith": "text", "responseBody": "={{ $json.content }}"}, "typeVersion": 1.1}, {"id": "e3a38a76-283b-4567-a8da-315ef1e2bc4f", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-260, -140], "parameters": {"width": 620, "height": 300, "content": "## N8N en OpenAI image analyser"}, "typeVersion": 1}, {"id": "8e7e26db-8767-4727-ab0c-900b50a73411", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-80, 180], "parameters": {"color": 5, "height": 340, "content": "## AI prompt\nYou are an expert financial analyst tasked with providing an advanced technical analyses of a stock or crypto currency chart provided. Your analysis will be based on various technical indicators and will provide simple insights for novice traders. Just explain to traders were you expect the market is moving. Also warn them this is not a binding advice. Make sure to explain everything in infant language."}, "typeVersion": 1}], "active": true, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "caf32442-e9c5-466a-8888-9abd2c1b3449", "connections": {"OpenAI": {"main": [[{"node": "Respond to Webhook", "type": "main", "index": 0}]]}, "Webhook": {"main": [[{"node": "OpenAI", "type": "main", "index": 0}]]}}}How to Import This Workflow
- 1Copy the workflow JSON above using the Copy Workflow JSON button.
- 2Open your n8n instance and go to Workflows.
- 3Click Import from JSON and paste the copied workflow.
Don't have an n8n instance? Start your free trial at n8nautomation.cloud
Related Templates
Text to Speech (OpenAI)
Converts text into natural-sounding speech using OpenAI's Text-to-Speech API. It sends your input text to OpenAI and receives an audio file in return. This is useful for creating audio versions of articles, generating voiceovers for videos, or providing accessibility features for web content. Quickly transform written content into engaging audio.
LangChain - Example - Code Node Example
Explore a basic LangChain agent that answers questions using a custom tool. This workflow connects n8n's AI nodes and custom code nodes to OpenAI for language model interactions. It's useful for developers building custom AI assistants or researchers experimenting with agentic workflows. This saves development time by providing a ready-to-use example of a LangChain agent.
AI-Powered Candidate Shortlisting Automation for ERPNext
Automate AI-powered candidate shortlisting for ERPNext job applications. This workflow connects ERPNext, Google Gemini, WhatsApp, and Outlook to process resumes, evaluate candidates, and communicate outcomes. Recruiters and HR departments can use this to efficiently screen applicants, automatically reject unqualified candidates, and send acceptance notifications. It significantly reduces manual review time and streamlines the hiring process.