Typeform、Google Docs、Gmail を使用して契約書類の生成と送信

初級

これはDocument Extraction分野の自動化ワークフローで、5個のノードを含みます。主にSet, Gmail, GoogleDocs, GoogleDrive, TypeformTriggerなどのノードを使用。 Typeform、Google Docs、Gmail を使用して契約書ドキュメントを生成し、[送信]する

前提条件
  • Googleアカウント + Gmail API認証情報
  • Google Drive API認証情報

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "nodes": [
    {
      "name": "Typeformトリガー",
      "type": "n8n-nodes-base.typeformTrigger",
      "position": [
        100,
        300
      ],
      "parameters": {
        "formId": "your-form-id"
      },
      "credentials": {
        "typeformApi": "Typeform API"
      },
      "typeVersion": 1,
      "id": "Typeform--0"
    },
    {
      "name": "変数設定",
      "type": "n8n-nodes-base.set",
      "position": [
        300,
        300
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "client_name",
              "value": "={{$json[\"answers\"][0].text}}"
            },
            {
              "name": "project_scope",
              "value": "={{$json[\"answers\"][1].text}}"
            },
            {
              "name": "deadline",
              "value": "={{$json[\"answers\"][2].text}}"
            },
            {
              "name": "email",
              "value": "={{$json[\"answers\"][3].email}}"
            }
          ]
        }
      },
      "typeVersion": 1,
      "id": "--1"
    },
    {
      "name": "契約テンプレート入力",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        500,
        300
      ],
      "parameters": {
        "mode": "template",
        "fields": [
          {
            "name": "{{client_name}}",
            "value": "={{$json[\"client_name\"]}}"
          },
          {
            "name": "{{project_scope}}",
            "value": "={{$json[\"project_scope\"]}}"
          },
          {
            "name": "{{deadline}}",
            "value": "={{$json[\"deadline\"]}}"
          }
        ],
        "documentId": "your-template-id"
      },
      "credentials": {
        "googleApi": "Google API"
      },
      "typeVersion": 1,
      "id": "--2"
    },
    {
      "name": "PDFとしてエクスポート",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        700,
        300
      ],
      "parameters": {
        "fileId": "={{$node[\"Fill Contract Template\"].json[\"documentId\"]}}",
        "mimeType": "application/pdf",
        "operation": "export"
      },
      "credentials": {
        "googleApi": "Google API"
      },
      "typeVersion": 1,
      "id": "PDF--3"
    },
    {
      "name": "メールで送信",
      "type": "n8n-nodes-base.gmail",
      "position": [
        900,
        300
      ],
      "parameters": {
        "text": "Hi {{$json[\"client_name\"]}},\n\nPlease find attached your contract.\n\nRegards,\nYour Company",
        "subject": "Your Contract",
        "toEmail": "={{$json[\"email\"]}}",
        "fromEmail": "your-email@example.com",
        "attachments": [
          {
            "binaryPropertyName": "data"
          }
        ]
      },
      "credentials": {
        "gmailOAuth2": "Gmail OAuth"
      },
      "typeVersion": 1,
      "id": "--4"
    }
  ],
  "connections": {
    "PDF--3": {
      "main": [
        [
          {
            "node": "--4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "--1": {
      "main": [
        [
          {
            "node": "--2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Typeform--0": {
      "main": [
        [
          {
            "node": "--1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "--2": {
      "main": [
        [
          {
            "node": "PDF--3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

初級 - 文書抽出

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
初級
ノード数5
カテゴリー1
ノードタイプ5
難易度説明

n8n初心者向け、1-5ノードのシンプルなワークフロー

作成者
Abbas Ali

Abbas Ali

@abbas12142

Automation Engineer passionate about building smart, scalable workflows with n8n. I specialize in API integrations, webhook handling, and streamlining business tasks using low-code tools. From AI-powered bots to real-time data pipelines, I love solving problems with automation. Let’s turn manual processes into efficient systems!

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34