Back to Catalog

Automated financial tracker: Telegram invoices to Notion with Gemini AI reports

Rizqi Pratama RamadhaniRizqi Pratama Ramadhani
6796 views
2/3/2026
Official Page

Automated Financial Tracker: Telegram Invoices to Notion with AI Summaries & Reports


Tired of manually logging every expense? Streamline your financial tracking with this powerful n8n workflow!

Snap a photo of your invoice in Telegram, and let AI (powered by Google Gemini) automatically extract the details, record them in your Notion database, and even send you a quick summary. Plus, get scheduled weekly reports with charts to visualize your spending. Automate your finances, save time, and gain better insights with this easy-to-use template!

Transform your expense tracking from a chore into an automated breeze. Try it out!


Overview:

This workflow revolutionizes how you track your finances by automating the entire process from invoice capture to reporting. Simply send a photo of an invoice or receipt to a designated Telegram chat, and this workflow will:

  1. Extract Data with AI: Utilize Google Gemini's capabilities to perform OCR on the image, understand the content, and extract key details like item name, quantity, price, total, date, and even attempt to categorize the expense.
  2. Store in Notion: Automatically log each extracted transaction into a structured Notion database.
  3. Instant Feedback: Send a summary of the processed transaction back to your Telegram chat.
  4. Scheduled Reporting: Generate and send a visual summary of your expenses (e.g., weekly spending by category) as a chart to your preferred Telegram chat or group.

This workflow is perfect for individuals, freelancers, or small teams looking to effortlessly manage their expenses without manual data entry.

Key Features & Benefits:

  • Effortless Expense Logging: Just send a picture – no more typing!
  • AI-Powered Data Extraction: Leverages Google Gemini for intelligent invoice processing.
  • Centralized Data in Notion: Keep all your financial records neatly organized in a Notion database.
  • Automated Categorization: AI helps in categorizing your expenses (e.g., Food & Beverage, Transportation).
  • Instant Summaries: Get immediate confirmation and a summary of what was recorded.
  • Visual Reporting: Receive scheduled charts (e.g., bar charts of spending by category) directly in Telegram.
  • Customizable: Easily adapt the workflow to your specific needs, categories, and reporting preferences.
  • Time-Saving: Drastically reduces the time spent on manual financial administration.

How It Works (Workflow Breakdown):

The workflow is divided into two main parts:

Part 1: Real-time Invoice Processing & Logging (## Auto Notes Transaction with Telegram and Notion database)

  1. Telegram Trigger (Telegram Trigger | When recive photo): Activates when a new photo is sent to the configured Telegram chat.
  2. Get Photo Info (Get Info Photo from telegram chat): Retrieves the details of the received photo.
  3. Get Image Info (Get Image Info): Prepares the image data.
  4. AI Data Extraction (Google Gemini Chat Model & Basic LLM Chain):
    • The image data is sent to the Google Gemini Chat Model.
    • A specific prompt instructs the AI to extract details (date, ID, name, quantity, price, total, category, tax) in a JSON array format and provide a summary message. The categories include Food & Beverage, Transportation, Utilities, Shopping, Healthcare, Entertainment, Housing, and Education.
  5. Parse AI Output (Parse To your object | Table): Structures the AI's JSON output for easier handling.
  6. Split Transactions (Split Out | data transaction): If an invoice contains multiple items, this node splits them into individual records.
  7. Record to Notion (Record To Notion Database): Each transaction item is added as a new page/entry in your specified Notion database, mapping fields like Name, Quantity, Price, Total, Category, Date, and Tax.
  8. Send Telegram Summary (Sendback to chat and give summarize text): The summary message generated by the AI is sent back to the original Telegram chat.

Part 2: Scheduled Financial Reporting (## Schedule report to send on chanel or private message)

  1. Schedule Trigger (Schedule Trigger | for send chart report): Runs at a predefined interval (e.g., every week) to generate reports.
  2. Get Recent Data from Notion (Get Recent Data from Notions): Fetches transaction data from the Notion database for a specific period (e.g., the past week).
  3. Summarize Data (Summarize Transaction Data): Aggregates the data, for example, by summing up the 'total' amount for each 'category'.
  4. Prepare Chart Data (Convert Data to JSON chart payload): Transforms the summarized data into a JSON format suitable for generating a chart (e.g., labels for categories, data for spending amounts).
  5. Generate Chart (Generate Chart): Uses the QuickChart node to create a visual chart (e.g., a bar chart) from the prepared data.
  6. Send Chart to Telegram (Send Chart Image to Group or Private Chat): Sends the generated chart image to a specified Telegram chat ID or group.

Nodes Used (Key Nodes):

  • Telegram Trigger & Telegram Node: For receiving images and sending messages/images.
  • Google Gemini Chat Model (Langchain): For AI-powered OCR and data extraction from invoices.
  • Basic LLM Chain (Langchain): To interact with the language model using specific prompts.
  • Output Parser Structured (Langchain): To structure the output from the language model.
  • Notion Node: For reading from and writing to your Notion databases.
  • Schedule Trigger: To automate the reporting process.
  • Summarize Node: To aggregate data for reports.
  • Code Node: Used here to format data for the chart.
  • QuickChart Node: For generating charts.
  • SplitOut Node: To process multiple items from a single invoice.

Setup Instructions:

  1. Credentials:
    • Telegram: Create a Telegram bot and get its API token. You'll also need the Chat ID where you'll send invoices and where reports should be sent.
    • Google Gemini (PaLM) API: You'll need an API key for Google Gemini.
    • Notion: Create a Notion integration and get the API key. Create a Notion database with properties corresponding to the data you want to save (e.g., Name (Title), Quantity (Number), Price (Number), Total (Number), Category (Select), Date (Text or Date), Tax (Number)). Share this database with your Notion integration.
  2. Configure Telegram Trigger:
    • Add your Telegram Bot API token.
    • When you first activate the workflow or test the trigger, send /start to your bot in the chat you want to use for sending invoices. n8n will then capture the Chat ID.
  3. Configure Google Gemini Node (Google Gemini Chat Model):
    • Select or add your Google Gemini API credentials.
    • Review the prompt in the Basic LLM Chain node and adjust if necessary (e.g., date format, categories).
  4. Configure Notion Nodes:
    • Record To Notion Database:
      • Select or add your Notion API credentials.
      • Select your target Notion Database ID.
      • Map the properties from the workflow (e.g., ={{ $json.name }}) to your Notion database columns.
    • Get Recent Data from Notions:
      • Select or add your Notion API credentials.
      • Select your target Notion Database ID.
      • Adjust the filter if needed (default is "past_week").
  5. Configure Telegram Node for Reports (Send Chart Image to Group or Private Chat):
    • Select or add your Telegram Bot API token.
    • Enter the Chat ID for the group or private chat where you want to receive the reports.
  6. Configure Schedule Trigger (Schedule Trigger | for send chart report):
    • Set your desired schedule (e.g., every Monday at 9 AM).
  7. Test: Send an image of an invoice to your Telegram bot and check if the data appears in Notion and if you receive a summary message. Wait for the scheduled report or manually trigger it to test the reporting functionality.

Sticky Note Text for Your n8n Template:

(These are suggestions. You would place these directly into the sticky notes within your n8n workflow editor.)

Existing High-Level Sticky Notes:

  • ## Auto Notes Transaction with Telegram and Notion database
  • ## Schedule report to send on chanel or private message

Specific Sticky Notes to Add:

  • On Telegram Trigger | When recive photo:
    πŸ“Έ INVOICE INPUT πŸ“Έ
    Bot listens here for photos of your receipts/invoices.
    Ensure your Telegram Bot API token is set in credentials.
    
  • Near Google Gemini Chat Model & Basic LLM Chain:
    πŸ€– AI MAGIC HAPPENS HERE 🧠
    - Image is sent to Google Gemini for data extraction.
    - Check 'Basic LLM Chain' to customize the AI prompt (e.g., categories, output format).
    - Requires Google Gemini API credentials.
    
  • On Parse To your object | Table:
    ✨ STRUCTURING AI DATA ✨
    Converts the AI's text output into a usable JSON object.
    Check the schema if you modify the AI prompt significantly.
    
  • On Record To Notion Database:
    πŸ“ SAVING TO NOTION πŸ“
    - Extracted transaction data is saved here.
    - Configure with your Notion API key & Database ID.
    - Map fields correctly to your database columns!
    
  • On Sendback to chat and give summarize text:
    πŸ’¬ TRANSACTION SUMMARY πŸ’¬
    Sends a confirmation message back to the user in Telegram
    with a summary of the recorded expense.
    
  • On Schedule Trigger | for send chart report:
    πŸ—“οΈ REPORTING SCHEDULE πŸ—“οΈ
    Set how often you want to receive your spending report (e.g., weekly, monthly).
    
  • On Get Recent Data from Notions:
    πŸ“Š FETCHING DATA FOR REPORT πŸ“Š
    - Retrieves transactions from Notion for the report period.
    - Default: "Past Week". Adjust filter as needed.
    - Requires Notion API credentials & Database ID.
    
  • On Summarize Transaction Data:
    βž• SUMMARIZING SPENDING βž•
    Aggregates your expenses, usually by category,
    to prepare for the chart.
    
  • On Convert Data to JSON chart payload (Code Node):
    🎨 PREPARING CHART DATA 🎨
    This Code node formats the summarized data
    into the JSON structure needed by QuickChart.
    
  • On Generate Chart (QuickChart Node):
    πŸ“ˆ GENERATING VISUAL REPORT πŸ“ˆ
    Creates the actual chart image based on your spending data.
    You can customize chart type (bar, pie, etc.) here.
    
  • On Send Chart Image to Group or Private Chat:
    πŸ“€ SENDING REPORT TO TELEGRAM πŸ“€
    - Delivers the generated chart to your chosen Telegram chat/group.
    - Set the correct Chat ID and Bot API token.
    
  • General Sticky Note (Place where relevant):
    πŸ”‘ CREDENTIALS NEEDED πŸ”‘
    Remember to set up API keys/tokens for:
    - Telegram
    - Google Gemini
    - Notion
    
  • General Sticky Note (Place where relevant):
    πŸ’‘ CUSTOMIZE ME! πŸ’‘
    - Adjust AI prompts for better accuracy.
    - Change Notion database structure.
    - Modify report frequency and content.
    

n8n Automated Financial Tracker: Telegram Invoices to Notion with Gemini AI Reports

This n8n workflow automates the process of tracking financial invoices received via Telegram, extracting key information using Google Gemini AI, storing it in Notion, and generating summary reports with QuickChart.

It simplifies expense management by transforming unstructured invoice images into structured data and providing visual insights into your spending.

What it does:

  1. Triggers on Telegram Messages: Listens for new messages in a specified Telegram chat.
  2. Filters for Images: Checks if the received message contains an image (assumed to be an invoice).
  3. Extracts Text from Image: (Implicit, typically done by an OCR service or the AI model directly) The image content is passed to the AI for analysis.
  4. Analyzes Invoice with Google Gemini AI: Uses the Google Gemini Chat Model with a Structured Output Parser to extract specific details from the invoice image, such as vendor, amount, date, and category.
  5. Stores Data in Notion: Creates a new item in a Notion database with the extracted invoice details.
  6. Schedules Daily/Weekly Reports: A separate branch of the workflow is triggered on a schedule (e.g., daily or weekly).
  7. Summarizes Notion Data: Retrieves and summarizes financial data from the Notion database (e.g., total spending per category).
  8. Generates Charts with QuickChart: Creates visual charts (e.g., bar charts of spending categories) based on the summarized data.
  9. Sends Reports to Telegram: Posts the generated charts and summary text back to the Telegram chat.
  10. Image Editing (Optional): Includes an "Edit Image" node, which could be used for pre-processing images before AI analysis (e.g., cropping, resizing) or post-processing generated charts.

Prerequisites/Requirements:

  • n8n Instance: A running n8n instance.
  • Telegram Bot Token: A Telegram bot configured and its API token for the Telegram Trigger and Telegram nodes.
  • Notion Integration: A Notion integration and a Notion database set up to store invoice data, along with its API token.
  • Google Gemini API Key: An API key for the Google Gemini Chat Model (via LangChain integration).
  • QuickChart API Key (Optional): If using QuickChart for advanced charting, an API key might be required depending on usage.
  • Basic LLM Chain Node: Requires the @n8n/n8n-nodes-langchain package to be installed in your n8n instance.

Setup/Usage:

  1. Import the Workflow: Import the provided JSON into your n8n instance.
  2. Configure Credentials:
    • Set up your Telegram Bot credential for both the Telegram Trigger and Telegram nodes.
    • Configure your Notion credential and specify the database ID where invoice data should be stored.
    • Provide your Google Gemini API key in the Google Gemini Chat Model node.
    • (Optional) Configure QuickChart credentials if necessary.
  3. Customize Notion Database: Ensure your Notion database has the necessary properties (e.g., "Vendor", "Amount", "Date", "Category") to match the output of the Structured Output Parser.
  4. Adjust AI Prompt: Review and adjust the prompt in the Basic LLM Chain and the schema in the Structured Output Parser to accurately extract the desired information from your invoice images.
  5. Configure Schedule: Adjust the Schedule Trigger node to your preferred reporting frequency (e.g., daily, weekly).
  6. Activate the Workflow: Once configured, activate the workflow.

Now, whenever you send an invoice image to your Telegram bot, the workflow will process it, add the details to Notion, and generate scheduled reports.

Related Templates

Track competitor SEO keywords with Decodo + GPT-4.1-mini + Google Sheets

This workflow automates competitor keyword research using OpenAI LLM and Decodo for intelligent web scraping. Who this is for SEO specialists, content strategists, and growth marketers who want to automate keyword research and competitive intelligence. Marketing analysts managing multiple clients or websites who need consistent SEO tracking without manual data pulls. Agencies or automation engineers using Google Sheets as an SEO data dashboard for keyword monitoring and reporting. What problem this workflow solves Tracking competitor keywords manually is slow and inconsistent. Most SEO tools provide limited API access or lack contextual keyword analysis. This workflow solves that by: Automatically scraping any competitor’s webpage with Decodo. Using OpenAI GPT-4.1-mini to interpret keyword intent, density, and semantic focus. Storing structured keyword insights directly in Google Sheets for ongoing tracking and trend analysis. What this workflow does Trigger β€” Manually start the workflow or schedule it to run periodically. Input Setup β€” Define the website URL and target country (e.g., https://dev.to, france). Data Scraping (Decodo) β€” Fetch competitor web content and metadata. Keyword Analysis (OpenAI GPT-4.1-mini) Extract primary and secondary keywords. Identify focus topics and semantic entities. Generate a keyword density summary and SEO strength score. Recommend optimization and internal linking opportunities. Data Structuring β€” Clean and convert GPT output into JSON format. Data Storage (Google Sheets) β€” Append structured keyword data to a Google Sheet for long-term tracking. Setup Prerequisites If you are new to Decode, please signup on this link visit.decodo.com n8n account with workflow editor access Decodo API credentials OpenAI API key Google Sheets account connected via OAuth2 Make sure to install the Decodo Community node. Create a Google Sheet Add columns for: primarykeywords, seostrengthscore, keyworddensity_summary, etc. Share with your n8n Google account. Connect Credentials Add credentials for: Decodo API credentials - You need to register, login and obtain the Basic Authentication Token via Decodo Dashboard OpenAI API (for GPT-4o-mini) Google Sheets OAuth2 Configure Input Fields Edit the β€œSet Input Fields” node to set your target site and region. Run the Workflow Click Execute Workflow in n8n. View structured results in your connected Google Sheet. How to customize this workflow Track Multiple Competitors β†’ Use a Google Sheet or CSV list of URLs; loop through them using the Split In Batches node. Add Language Detection β†’ Add a Gemini or GPT node before keyword analysis to detect content language and adjust prompts. Enhance the SEO Report β†’ Expand the GPT prompt to include backlink insights, metadata optimization, or readability checks. Integrate Visualization β†’ Connect your Google Sheet to Looker Studio for SEO performance dashboards. Schedule Auto-Runs β†’ Use the Cron Node to run weekly or monthly for competitor keyword refreshes. Summary This workflow automates competitor keyword research using: Decodo for intelligent web scraping OpenAI GPT-4.1-mini for keyword and SEO analysis Google Sheets for live tracking and reporting It’s a complete AI-powered SEO intelligence pipeline ideal for teams that want actionable insights on keyword gaps, optimization opportunities, and content focus trends, without relying on expensive SEO SaaS tools.

Ranjan DailataBy Ranjan Dailata
161

Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax

Spark your creativity instantly in any chatβ€”turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. πŸ“‹ What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing πŸ”§ Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation πŸ”‘ Required Credentials OpenAI API Setup Go to platform.openai.com β†’ API keys (sidebar) Click "Create new secret key" β†’ Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai β†’ Dashboard β†’ API Keys Generate a new API key β†’ Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) βš™οΈ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflowβ€”chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions

Daniel NkenchoBy Daniel Nkencho
601

Automate invoice processing with OCR, GPT-4 & Salesforce opportunity creation

PDF Invoice Extractor (AI) End-to-end pipeline: Watch Drive ➜ Download PDF ➜ OCR text ➜ AI normalize to JSON ➜ Upsert Buyer (Account) ➜ Create Opportunity ➜ Map Products ➜ Create OLI via Composite API ➜ Archive to OneDrive. --- Node by node (what it does & key setup) 1) Google Drive Trigger Purpose: Fire when a new file appears in a specific Google Drive folder. Key settings: Event: fileCreated Folder ID: google drive folder id Polling: everyMinute Creds: googleDriveOAuth2Api Output: Metadata { id, name, ... } for the new file. --- 2) Download File From Google Purpose: Get the file binary for processing and archiving. Key settings: Operation: download File ID: ={{ $json.id }} Creds: googleDriveOAuth2Api Output: Binary (default key: data) and original metadata. --- 3) Extract from File Purpose: Extract text from PDF (OCR as needed) for AI parsing. Key settings: Operation: pdf OCR: enable for scanned PDFs (in options) Output: JSON with OCR text at {{ $json.text }}. --- 4) Message a model (AI JSON Extractor) Purpose: Convert OCR text into strict normalized JSON array (invoice schema). Key settings: Node: @n8n/n8n-nodes-langchain.openAi Model: gpt-4.1 (or gpt-4.1-mini) Message role: system (the strict prompt; references {{ $json.text }}) jsonOutput: true Creds: openAiApi Output (per item): $.message.content β†’ the parsed JSON (ensure it’s an array). --- 5) Create or update an account (Salesforce) Purpose: Upsert Buyer as Account using an external ID. Key settings: Resource: account Operation: upsert External Id Field: taxid_c External Id Value: ={{ $json.message.content.buyer.tax_id }} Name: ={{ $json.message.content.buyer.name }} Creds: salesforceOAuth2Api Output: Account record (captures Id) for downstream Opportunity. --- 6) Create an opportunity (Salesforce) Purpose: Create Opportunity linked to the Buyer (Account). Key settings: Resource: opportunity Name: ={{ $('Message a model').item.json.message.content.invoice.code }} Close Date: ={{ $('Message a model').item.json.message.content.invoice.issue_date }} Stage: Closed Won Amount: ={{ $('Message a model').item.json.message.content.summary.grand_total }} AccountId: ={{ $json.id }} (from Upsert Account output) Creds: salesforceOAuth2Api Output: Opportunity Id for OLI creation. --- 7) Build SOQL (Code / JS) Purpose: Collect unique product codes from AI JSON and build a SOQL query for PricebookEntry by Pricebook2Id. Key settings: pricebook2Id (hardcoded in script): e.g., 01sxxxxxxxxxxxxxxx Source lines: $('Message a model').first().json.message.content.products Output: { soql, codes } --- 8) Query PricebookEntries (Salesforce) Purpose: Fetch PricebookEntry.Id for each Product2.ProductCode. Key settings: Resource: search Query: ={{ $json.soql }} Creds: salesforceOAuth2Api Output: Items with Id, Product2.ProductCode (used for mapping). --- 9) Code in JavaScript (Build OLI payloads) Purpose: Join lines with PBE results and Opportunity Id ➜ build OpportunityLineItem payloads. Inputs: OpportunityId: ={{ $('Create an opportunity').first().json.id }} Lines: ={{ $('Message a model').first().json.message.content.products }} PBE rows: from previous node items Output: { body: { allOrNone:false, records:[{ OpportunityLineItem... }] } } Notes: Converts discount_total ➜ per-unit if needed (currently commented for standard pricing). Throws on missing PBE mapping or empty lines. --- 10) Create Opportunity Line Items (HTTP Request) Purpose: Bulk create OLIs via Salesforce Composite API. Key settings: Method: POST URL: https://<your-instance>.my.salesforce.com/services/data/v65.0/composite/sobjects Auth: salesforceOAuth2Api (predefined credential) Body (JSON): ={{ $json.body }} Output: Composite API results (per-record statuses). --- 11) Update File to One Drive Purpose: Archive the original PDF in OneDrive. Key settings: Operation: upload File Name: ={{ $json.name }} Parent Folder ID: onedrive folder id Binary Data: true (from the Download node) Creds: microsoftOneDriveOAuth2Api Output: Uploaded file metadata. --- Data flow (wiring) Google Drive Trigger β†’ Download File From Google Download File From Google β†’ Extract from File β†’ Update File to One Drive Extract from File β†’ Message a model Message a model β†’ Create or update an account Create or update an account β†’ Create an opportunity Create an opportunity β†’ Build SOQL Build SOQL β†’ Query PricebookEntries Query PricebookEntries β†’ Code in JavaScript Code in JavaScript β†’ Create Opportunity Line Items --- Quick setup checklist πŸ” Credentials: Connect Google Drive, OneDrive, Salesforce, OpenAI. πŸ“‚ IDs: Drive Folder ID (watch) OneDrive Parent Folder ID (archive) Salesforce Pricebook2Id (in the JS SOQL builder) 🧠 AI Prompt: Use the strict system prompt; jsonOutput = true. 🧾 Field mappings: Buyer tax id/name β†’ Account upsert fields Invoice code/date/amount β†’ Opportunity fields Product name must equal your Product2.ProductCode in SF. βœ… Test: Drop a sample PDF β†’ verify: AI returns array JSON only Account/Opportunity created OLI records created PDF archived to OneDrive --- Notes & best practices If PDFs are scans, enable OCR in Extract from File. If AI returns non-JSON, keep β€œReturn only a JSON array” as the last line of the prompt and keep jsonOutput enabled. Consider adding validation on parsing.warnings to gate Salesforce writes. For discounts/taxes in OLI: Standard OLI fields don’t support per-line discount amounts directly; model them in UnitPrice or custom fields. Replace the Composite API URL with your org’s domain or use the Salesforce node’s Bulk Upsert for simplicity.

Le NguyenBy Le Nguyen
942