Templates / Automating SAP B1 journal entries using JSON, Google Sheets, and GPT-4o

Automating SAP B1 journal entries using JSON, Google Sheets, and GPT-4o

Ready for 3.0

by Raquel Giugliano ✓ · 513 views · created 2025-06-26 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 21 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Google Sheets and OpenAI.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. SAP Login (HTTP Request): calls an HTTP API
  2. Route by Source (Switch): routes items into branches
  3. Map JSON Fields (Edit Fields (Set)): sets or maps fields
  4. Set SAP Data (Edit Fields (Set)): sets or maps fields
  5. LLM Transform (Manual) (OpenAI): uses OpenAI
  6. Post Journal (JSON) (HTTP Request): calls an HTTP API
  7. Load Sheet Data (Google Sheets): uses Google Sheets
  8. Merge: merges the data from its input branches
  9. Post Journal (Manual) (HTTP Request): calls an HTTP API
  10. Log Success (JSON) (Google Sheets): uses Google Sheets

…plus 10 more steps. See the full node list below.

Services it uses

Google SheetsOpenAI

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

HOW IT WORKS: This workflow automates the creation of Journal Entries in SAP Business One (SAP B1). Depending on the source of the input data, it dynamically transforms and sends accounting records in the appropriate format using the Service Layer API. It…

Excerpt from Raquel Giugliano's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.