Sync AWS billing invoices with FreeAgent and PostgreSQL tracking — n8n ワークフロー
概要
Automatically retrieve AWS invoices and create corresponding bills in FreeAgent, marking them as paid. This workflow eliminates manual data entry for AWS billing.
What It Does
Fetches invoices from AWS Invoicing API for the previous month Filters invoices by issue date to ensure only new ones are processed Checks PostgreSQL database for previously processed invoices Creates a bill in FreeAgent with correct dates and amounts Marks the bill as paid with a bank transaction explanation Records the
使用ノード
HTTP RequestPostgresCode
ワークフロープレビュー
Generate AWS Signature
Parse AWS Response
Filter By Date
L
Loop Over Invoices
Check If Already Processed
Record In PostgreSQL
Create FreeAgent Bill
I
If New Invoice
Prepare FreeAgent Bill
Mark Bill as Paid
Prepare Payment
Calculate Last Month Dat…
Call AWS For Bills
⚡
T
Trigger Monthly
14 nodes14 edges
仕組み
- 1
トリガー
このワークフローは スケジュール トリガーで開始します、定義されたスケジュールで実行。
- 2
処理
データは 14 個のノードを流れます, connecting code, httprequest, if。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (14)
HT#1
HTTP Request
httpRequest
PO#2
Postgres
postgres
CO#3
Code
code
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
sync-aws-billing-invoices-with-freeagent-and-postgresql-trackingファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
{ "name": "Sync AWS billing invoices with FreeAgent and PostgreSQL tracking", "nodes": [...], ...}
インテグレーション
codehttprequestifpostgresscheduletriggersplitinbatches
作成者
Pernille-AI
@pernilleai
タグ
codehttprequestifpostgresscheduletriggersplitinbatches