Skip to main content

AI-powered credit card recommendation system with OpenAI GPT, Telegram & Google Sheets

Workflow preview

Workflow preview
100%
AI-powered credit card recommendation system with OpenAI GPT, Telegram & Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Overview Confused which credit card to actually get or swipe? With 100+ cards in the market, hidden caps, and milestone rules, most people end up leaving rewards, perks, and cashback on the table. ...

Best for

  • AI Chatbot automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.telegram, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.set, n8n-nodes-base.telegramtrigger, n8n-nodes-base.merge, n8n-nodes-base.switch

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
AI-powered credit card recommendation system with OpenAI GPT, Telegram & Google Sheets
Workflow name
AI-powered credit card recommendation system with OpenAI GPT, Telegram & Google Sheets

Overview

Confused which credit card to actually get or swipe? With 100+ cards in the market, hidden caps, and milestone rules, most people end up leaving rewards, perks, and cashback on the table.

This workflow uses n8n + GPT + Google Sheets + Telegram to recommend the best credit card for each user’s lifestyle in under 3 seconds, while keeping the logic transparent with a ₹-value breakdown.

What does this workflow do?

This workflow:

Captures User Inputs – Users answer a 7-question lifestyle quiz via Telegram.

Stores Responses – Google Sheets logs all answers for resumption & deduplication.

Scores Answers – n8n Function nodes map single & multi-select inputs into scores.

Generates Recommendations – GPT analyses profile vs. 30+ card dataset.

Breaks Down Value – Outputs a transparent table of rewards, milestones, lounge value.

Delivers Results – Top 3 card picks returned instantly on Telegram.

Why is this useful?

Most card comparison tools only list features — they don’t personalise or calculate actual value. This workflow builds a decision engine:

🔍 Personalised → matches lifestyle to best-fit cards

💸 Transparent → shows value in real currency (rewards, milestones, lounges)

⏱ Fast → answers in under 3 seconds

🗂 Organised → Google Sheets keeps audit trail of every user + dedupe

Tools used

n8n (Orchestrator): Orchestration + logic branching

Telegram: User-facing quiz bot

Google Sheets: Database of credit cards + logs of user answers

OpenAI (GPT): Analyses user profile & generates recommendations

Who is this for?

🧑‍💻 Fintech product builders → see how AI can power recommendation engines

💳 Cardholders → understand which card fits their lifestyle best

⚙️ n8n makers → learn how to combine Sheets + GPT + chat interface into one workflow

🌍 How to adapt it for your country/location

This workflow uses a credit card dataset stored in Google Sheets. To make it work for your country:

Build your dataset → scrape or collect card details from banks, comparison sites, or official portals

Fields to include: Fees, Reward rate, Lounge access, Forex markup, Reward caps, Milestones, Eligibility.

You can use web crawlers (e.g., Apify, PhantomBuster) to automate data collection.

Update the Google Sheet → replace the India dataset with your country’s cards.

Adjust scoring logic → modify Function nodes if your cards use different reward structures (e.g., cashback %, miles, points value).

Run the workflow → GPT will analyse against the new dataset and generate recommendations specific to your country.

This makes the workflow flexible for any geography.

Workflow Highlights

✅ End-to-end credit card recommendation pipeline (quiz → scoring → GPT → result) ✅ Handles single + multi-select inputs fairly with % match scoring ✅ Transparent value breakdown in local currency (rewards, milestones, lounge access) ✅ Google Sheets for persistence, dedupe & audit trail ✅ Delivers top 3 cards in <3 seconds on Telegram ✅ Fully customisable for any country by swapping the dataset

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 - Get Question Text

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

Block 2 - Send Question

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

Block 3 - Telegram

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

Block 4 - Is Q7 Answered?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - Fetch Cards

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 6 - Clean Q1–Q7 Inputs

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

Block 7 - Trigger: Incoming Telegram Message

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

Block 8 - Extract Telegram Message Text

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

Block 9 - Lookup User State (Google Sheet)

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 10 - Merge Incoming Message with State

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 11 - Check if User Exists in DB

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 12 - Map & Format Answer for Google Sheet

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

Block 13 - Extract Metadata from Answer

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

Block 14 - Append Full User State for Processing

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

Block 15 - Merge Updated State for Next Step

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 16 - Carry Forward Previous Answers

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

Block 17 - Update Answer in Google Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 18 - Insert New User into Google Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 19 - Determine Next Quiz Question

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

Block 20 - Check if More Questions Remaining

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 21 - Merge User Profile & Card Dataset

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 22 - Build GPT Prompt with User Profile & Card Data

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

Block 23 - Send Prompt to GPT for Card Matching

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 24 - Clean GPT Output & Split into Sections

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

Showing the first 24 of 31 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow AI-powered credit card recommendation system with OpenAI GPT, Telegram & Google Sheets
Complexity advanced
Nodes 31
Categories AI Chatbot, Multimodal AI
Author Nishant
Published 21 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7714/7714.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 AI-powered credit card recommendation system with OpenAI GPT, Telegram & Google Sheets do?

Overview Confused which credit card to actually get or swipe? With 100+ cards in the market, hidden caps, and milestone rules, most people end up leaving rewards, perks, and cashback on the table. ...

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 AI Chatbot, Multimodal AI use case.