Stripe API からカスタムフィールドを取得する
中級
これはFinance, Building Blocks分野の自動化ワークフローで、7個のノードを含みます。主にFilter, SplitOut, HttpRequestなどのノードを使用。 Stripe APIからカスタムフィールドを取得する
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
使用ノード (7)
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "84ba6d895254e080ac2b4916d987aa66b000f88d4d919a6b9c76848f9b8a7616",
"templateId": "2359"
},
"nodes": [
{
"id": "654e210f-08b1-4ba4-b464-9499084092a2",
"name": "カスタムフィールドを分割",
"type": "n8n-nodes-base.splitOut",
"position": [
980,
640
],
"parameters": {
"include": "allOtherFields",
"options": {},
"fieldToSplitOut": "custom_fields"
},
"typeVersion": 1
},
{
"id": "9b1a4071-7dd8-4d60-b077-d686fff40d24",
"name": "Stripe | 最新のチェックアウトセッションを取得1",
"type": "n8n-nodes-base.httpRequest",
"position": [
460,
640
],
"parameters": {
"url": "=https://api.stripe.com/v1/checkout/sessions",
"options": {
"pagination": {
"pagination": {
"parameters": {
"parameters": [
{
"name": "starting_after",
"value": "={{ $response.body.data.last().id }}"
}
]
},
"completeExpression": "={{ $response.body.has_more == false }}",
"paginationCompleteWhen": "other"
}
}
},
"jsonQuery": "={\n \"created\": {\n \"gte\":{{ $today.minus(20, 'days').toSeconds() }},\n \"lte\":{{ $today.toSeconds() }}\n }\n}",
"sendQuery": true,
"specifyQuery": "json",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "stripeApi"
},
"typeVersion": 4.2
},
{
"id": "17016a73-5338-49c7-af8d-8587c778c2f6",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
380,
240
],
"parameters": {
"color": 7,
"width": 252.741654751449,
"height": 593.3373455805055,
"content": "## Retrieve all checkout sessions from the last 7 days.\n\nYou can adjust the period by changing the \"created\" value.\n\n[🔍 Learn more about the \"created\" parameter](https://docs.stripe.com/api/checkout/sessions/list?lang=curl#list_checkout_sessions-created)\n\n\nAnd this node uses pagination to get all results. You want to keep those settings at the bottom."
},
"typeVersion": 1
},
{
"id": "e46a5332-a008-4617-be57-eb22e713022d",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
700,
545
],
"parameters": {
"color": 7,
"width": 451.2991079615292,
"height": 267.24226082469556,
"content": "## Split data for easier visualization"
},
"typeVersion": 1
},
{
"id": "ebf8a12a-787c-4ab8-9060-2241bbf38489",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1220,
237
],
"parameters": {
"color": 7,
"height": 598.2429925878827,
"content": "## Select the custom fields you want\n\nHere you can choose to filter your contacts to keep only the ones who contain certain custom_fields.\n\nLet's say you only want the ones who have filled their nickname and job title."
},
"typeVersion": 1
},
{
"id": "e9c54905-dadb-4b5e-9ce0-cfe7d436c51e",
"name": "カスタムフィールドでフィルター",
"type": "n8n-nodes-base.filter",
"position": [
1280,
640
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "4579d72e-8d48-4146-952d-9b5b400f5bce",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.custom_fields.key }}",
"rightValue": "nickname"
},
{
"id": "34197f40-9b41-46e4-8796-be3a86e4dcca",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.custom_fields.key }}",
"rightValue": "job_title"
}
]
}
},
"typeVersion": 2
},
{
"id": "14915079-68ba-48ab-9a9d-fe627aa2bd33",
"name": "全データを分割",
"type": "n8n-nodes-base.splitOut",
"position": [
760,
640
],
"parameters": {
"options": {},
"fieldToSplitOut": "data"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"14915079-68ba-48ab-9a9d-fe627aa2bd33": {
"main": [
[
{
"node": "654e210f-08b1-4ba4-b464-9499084092a2",
"type": "main",
"index": 0
}
]
]
},
"654e210f-08b1-4ba4-b464-9499084092a2": {
"main": [
[
{
"node": "e9c54905-dadb-4b5e-9ce0-cfe7d436c51e",
"type": "main",
"index": 0
}
]
]
},
"9b1a4071-7dd8-4d60-b077-d686fff40d24": {
"main": [
[
{
"node": "14915079-68ba-48ab-9a9d-fe627aa2bd33",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - 財務, ビルディングブロック
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
テンプレート | Stripe 新規購入通知
Gmail、Telegram、Slack で新しい Stripe 購入通知を受信
Set
Gmail
Filter
+
Set
Gmail
Filter
15 ノードSolomon
財務
最初のAIデータアナリストチャットボットを構築する
最初のAIデータ分析者チャットボットを構築する
Code
Filter
Aggregate
+
Code
Filter
Aggregate
29 ノードSolomon
営業
Google連絡先をNotionと双方向同期
Google連絡先をNotionと双方向同期
If
Set
Merge
+
If
Set
Merge
82 ノードSolomon
その他
Mistral での音声文字起こし
Googleカレンダーとカスタム関数を使用してMCPサーバーを構築
Set
Switch
Debug Helper
+
Set
Switch
Debug Helper
32 ノードSolomon
ビルディングブロック
Stripe請求書の生成とメール送信
Stripe 領収書を生成し、メールで送信
Stripe
Http Request
Manual Trigger
+
Stripe
Http Request
Manual Trigger
9 ノードSolomon
財務
n8nでGemini AIを使って画像とPDFを5つの方法で処理
n8nでGemini AIを使って画像とPDFを処理する5つの方法
Set
Filter
Split Out
+
Set
Filter
Split Out
28 ノードJulian Kaiser
ビルディングブロック
ワークフロー情報
難易度
中級
ノード数7
カテゴリー2
ノードタイプ4
作成者
Solomon
@solomonFreelance consultant from Brazil, specializing in automations and data analysis. I work with select clients, addressing their toughest projects. For business inquiries, email me at automations.solomon@gmail.com or message me on Telegram for a faster response.
外部リンク
n8n.ioで表示 →
このワークフローを共有