Skip to main content

Automate weekly US trademark reports with USPTO API and Google Drive CSV export

Workflow preview

Workflow preview
100%
Automate weekly US trademark reports with USPTO API and Google Drive CSV export preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Title: ️ Deep Dive: Automating Weekly US Trademark Reports with n8n, RapidAPI & Google Drive (No Code Workflow) Full Breakdown Post: In this in depth walkthrough, we're exploring a powerful no cod...

Best for

  • Market Research automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.converttofile, n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.datetime, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.googledrive

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by iamvaar.

Original n8n.io source

1.1 Workflow description

Title
Automate weekly US trademark reports with USPTO API and Google Drive CSV export
Workflow name
Automate weekly US trademark reports with USPTO API and Google Drive CSV export

Title: ⚙️ Deep Dive: Automating Weekly US Trademark Reports with n8n, RapidAPI & Google Drive (No-Code Workflow)


Full Breakdown Post:

In this in-depth walkthrough, we're exploring a powerful no-code automation built entirely using n8n, that automatically fetches the latest US trademark registrations every 7 days, saves them to a CSV, and uploads that file to your Google Drive — no manual effort required.

Whether you're a startup founder, legal tech builder, or data analyst, this type of automation can save you hours every week and give you a real-time pulse on newly registered trademarks in the US.


⚙️ What This Workflow Does:

Every week, the workflow automatically:

  1. Triggers on a schedule

  2. Calculates the date range (today and 7 days prior)

  3. Fetches trademark data from the USPTO via a RapidAPI endpoint

  4. Splits the API response into individual rows

  5. Converts it into a CSV file

  6. Uploads the file to Google Drive with a dynamic name like:

    Active TM (2025-07-29 - 2025-08-05).csv
    

🔍 Node-by-Node Breakdown


1. Schedule Trigger
  • Node: Schedule Trigger
  • Purpose: Starts the workflow every 7 days

2. Date & Time
  • Node: Date & Time
  • Purpose: Captures the current timestamp in ISO format to use for calculations.

3. Manual (Set Start & End Dates)
  • Node: Set

  • Purpose: Assigns two dynamic values:

    • Start_Date: Current date minus 7 days
    • End_Date: Current date (today)

4. HTTP Request: Get Trademark Data
  • Node: HTTP Request
  • Method: POST

This returns an array of trademark records from USPTO's database that were registered in the past week.


5. Split the Array into Items
  • Node: Code

This takes the results array from the HTTP response and flattens it so that each trademark record becomes its own item in n8n's context.


6. Convert to CSV File
  • Node: Convert to File
  • File Name: test.csv (you can change this dynamically if needed)

This node takes all the individual trademark JSON objects and generates a CSV file out of them.


7. Upload to Google Drive
  • Node: Google Drive

  • Folder ID: Your target folder’s ID

  • Dynamic Name:

    =Active TM ({{ $('Manual').item.json.Start_Date }} - {{ $('Manual').item.json.End_Date }})
    

This uploads the generated CSV file directly into your specified Google Drive folder with the correct name and date range.


🧠 Why This is Powerful

  • Zero maintenance once configured
  • Always fresh trademark data weekly
  • Ideal for market research, brand monitoring, IP tracking
  • Fully serverless... all you need is n8n, a RapidAPI key, and Google Drive access

🛡️ Disclaimer

> DISCLAIMER: THIS IS FOR EDUCATIONAL PURPOSES ONLY. THE CREATOR IS NOT LIABLE FOR ANY LOSSES OR DAMAGES CAUSED BY MISUSE OF THIS WORKFLOW.


🚀 Final Thoughts

With this one workflow, you're building a production-grade automation pipeline that would otherwise take a full dev sprint to manually script and deploy.

Use it, extend it, and plug it into other workflows like:

  • Auto-emailing the report
  • Pushing to Google Sheets
  • Generating insights via AI

n8n is your playground — this is just the beginning.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 2 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 3 - Get Latest TradeMarks ~ 7 days

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Date & Time

Type / Role
n8n-nodes-base.dateTime - dateTime
Config choices
Version 2

Block 5 - Split the array into individual items

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Manual

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Upload file

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

3. Summary Table

Workflow Automate weekly US trademark reports with USPTO API and Google Drive CSV export
Complexity intermediate
Nodes 7
Categories Market Research
Author iamvaar
Published 05 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7024/7024.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate weekly US trademark reports with USPTO API and Google Drive CSV export do?

Title: ️ Deep Dive: Automating Weekly US Trademark Reports with n8n, RapidAPI & Google Drive (No Code Workflow) Full Breakdown Post: In this in depth walkthrough, we're exploring a powerful no cod...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.