メインコンテンツへスキップ

1件の投稿 に「SaaS billing」というタグが付けられています

すべてのタグを表示

Power Automateで独自の請求書フォーマットに対応したカスタムAIアナライザーを構築する:Dropboxを使った3ステップのワークフロー

· 1分で読める
SEO and Content Writer

A カスタムAIアナライザーテンプレート これは、PDF4me 開発者ポータルで定義する名前付き JSON スキーマで、特定のドキュメントタイプから抽出するフィールドを AI に指示します。このチュートリアルでは、PDF4me 独自の SaaS サブスクリプション請求書 (33 フィールド: ベンダー住所ブロック、スイスの MWST レート、サブスクリプション ID、明細項目、割引の詳細) 用のアナライザーを作成し、Dropbox から PDF を読み取り、構造化された JSON を返す 3 ステップの Power Automate フローからそれを呼び出します。

内蔵 default_invoice_extraction 一般的な請求書はカバーできますが、実際の経理チームは、ベンダー固有のレイアウト、カスタム明細列、管轄区域固有の税金フィールド、およびサブスクリプションメタデータなど、一般的なスキーマでは対応できない要素を抱えています。カスタムアナライザーを一度構築すれば、フィールドごとのプロンプト表示やレスポンスのクリーンアップのための後続ロジックが不要になり、完全一致抽出が永続的に可能になります。

ワークフロー全体を一目で確認
Setup A. Log in to dev portal
pdf4me.com login. Email plus password or any SSO provider (Microsoft, Google, Facebook, Apple, GitHub).
Setup B. Open AI Document Parser
Dashboard sidebar, AI Document Parser. Lists every Analyzer Template you have already created.
Setup C. Add a Parse Analyzer
Click Add, name it (e.g. Test Invoice), choose Type Parse. The Analyzer Id is what Power Automate references.
Setup D. Paste the JSON schema
Document Schema field. Each schema entry has fieldName, fieldType, fieldDescription. Save Changes.
Flow 1. Manually trigger a flow
Replace later with HTTP / SharePoint / Outlook trigger when ready for production.
Flow 2. Get file content (path)
Dropbox path /pdf4me.pdf, Infer Content Type Yes. Reads the source PDF into the flow.
Flow 3. AI - Document Parser
PDF4me action. File Content from step 2, File Name Test.pdf, Customisation Note Test Invoice (your Analyzer Id). Returns body JSON.