← All N8N workflows
AI & researchAgentGoogle DriveGoogle SheetsGoogle Sheets TriggerGoogle Translate

google translate and agent and receive google sheets events

Configured with Agent, Google Drive, Google Sheets, Google Sheets Trigger, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
IntegrationGoogle TranslateGoogle TranslateAI & modelsAI AgentAgentAI & modelsOpenAI Chat ModelOpenAI Chat ModelTransformStructured OutputParserOutput Parser StructuredTransformMergeMergeTriggerTrigger Added RowGoogle Sheets TriggerRoutingNo Operation, donothingNo OpFiles / mediaUpload PictureGoogle DriveWeb / APIGet PictureHTTP RequestWeb / APICall API PexelsHTTP RequestTransformTake initialTextEdit FieldsTransformExtract Image LinkEdit FieldsTransformFinal MergeMergeTransformExtract Pinyin andExampleEdit FieldsTransformExtract FieldsEdit FieldsRoutinginitialText is empty?IfData storeAdd Results in SheetGoogle Sheets

Node categories in this workflow

  • Integration
  • AI & models
  • Transform
  • Trigger
  • Routing
  • Files / media
  • Web / API
  • Data store

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Google TranslateIntegrationGoogle TranslateSee node parameters
AI AgentAI & modelsAgentSee node parameters
OpenAI Chat ModelAI & modelsOpenAI Chat ModelSee node parameters
Structured Output ParserTransformOutput Parser StructuredSee node parameters
MergeTransformMergeSee node parameters
Trigger Added RowTriggerGoogle Sheets TriggerSee node parameters
No Operation, do nothingRoutingNo OpSee node parameters
Upload PictureFiles / mediaGoogle DriveSee node parameters
Get PictureWeb / APIHTTP RequestSee node parameters
Call API PexelsWeb / APIHTTP RequestSee node parameters
Take initialTextTransformEdit FieldsSee node parameters
Extract Image LinkTransformEdit FieldsSee node parameters
Final MergeTransformMergeSee node parameters
Extract Pinyin and ExampleTransformEdit FieldsSee node parameters
Extract FieldsTransformEdit FieldsSee node parameters
initialText is empty?RoutingIfSee node parameters
Add Results in SheetData storeGoogle Sheetsupdate

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

None declared. HTTP requests and Code nodes may still need configuration.

Workflow notes

5. Do you need more details?

5. Do you need more details?

Find a step-by-step guide in this tutorial 🎥 Watch My Tutorial

Google Translate

Translation -> 中文

AI Agent

Pinyin + Example

Trigger Added Row

Write a word in a new row

No Operation, do nothing

If cell empty, do nothing

Extract Fields

Initial text and its translation

initialText is empty?

Verify is the word is not empty

3. Retrieve Images from Pexels Free Database

3. Retrieve Images from Pexels Free Database

Extract from Google sheet the word you want to translate to download an illustrating image from the free database of pexels.com

How to set up?

  • HTTP Request Node (Call API Pexels): add in the header field 'Authorization' the API key provided by Pexels. (Register here for the free API key: https://www.pexels.com/onboarding/) Learn more about the HTTP Request Node
  • Upload the picture to Google Drive:
    1. Add your Google Drive API credentials to access the folder for images
    2. Select your parent drive using the list, an URL or ID
    3. Select the folder in which you want to save the pictures using the list, an URL or ID Learn more about the Google Drive Upload Node
1. Google Sheet Trigger & Translation using API

1. Google Sheet Trigger & Translation using API

Trigger the workflow when the user adds a word in English in a new row of the column initialText.

How to set up?

2. Simple AI agent to get the phonetic transcription and generate an sentence example

2. Simple AI agent to get the phonetic transcription and generate an sentence example

The agent will take the translated word as an input and will output the phonetic transcription and the sentence.

How to set up?

  • AI Agent with the Chat Model:
    1. Add a chat model with the required credentials (Example: Open AI 4o-mini)
    2. Adapt the system prompt with the target translation language and the format of the sentence Learn more about the AI Agent Node
Add Results in Sheet

initialtext, translation, sentence

4. Combine Results to Update the Google Sheet

4. Combine Results to Update the Google Sheet

Combine initial text, translation, example sentence and image link to fill the new row.

How to set up?

  • Add Results in Google Sheet:
    1. Add your Google Sheet API credentials to access the Google Sheet file
    2. Select the file using the list, an URL or an ID
    3. Select the sheet in which the vocabulary list is stored Learn more about the Google Sheet Node
google translate and agent and receive google sheets events

google translate and agent and receive google sheets events

Purpose and structure

This folder contains the google translate and agent and receive google sheets events workflow. Its executable nodes use agent, googleDrive, googleSheets, googleSheetsTrigger, googleTranslate, httpRequest, if, lmChatOpenAi, merge, noOp, outputParserStructured, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Trigger Added Row

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Googletranslate/0788_Googletranslate_Noop_Create_Webhook.json MIT; preserve source notices.

More in AI & research