{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"n8n","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"n8n","__idx":0},"children":["n8n"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ステップ1（トークンの取得）："]}," アプリIDとシークレットを",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/oauth2/token"]},"に送信して、一時的な",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["access_token"]},"を取得します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ステップ2（タスクの実行）："]}," 取得したトークンをヘッダーに含め、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["文字列化されたJSON"]},"を含むパラメータを作成して、クラウド電話タスクをトリガーします。"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["開始する前に、以下の情報をご用意ください。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API認証情報"]},"（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://id.morelogin.com/"},"children":["MoreLoginダッシュボード"]}," -> API管理から取得）："]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["アプリID"]},"（例：client_id）"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["シークレットキー"]},"（例：client_secret）"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://guide.morelogin.com/api-reference/open-api/open-api/authorization/paths/~1oauth2~1token/post"},"children":["認証情報の取得方法"]}," ","2. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["リソースID"]},"（クラウド電話リストとテンプレートマーケットプレイスから取得）："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["クラウド電話ID"]},"（数字のみ）"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["テンプレートID"]},"（数字のみ）"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://guide.morelogin.com/api-reference/open-api/open-api/authorization/paths/~1oauth2~1token/post"},"children":["取得方法"]}," get?](https://guide.morelogin.com/api-reference/open-api/open-api/cloud-phoneschedules-management/paths/~1cloudphone~1rpa~1oncetask~1save/post)"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ワンクリックワークフローインポート","__idx":2},"children":["ワンクリックワークフローインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["設定を簡素化するため、n8nデュアルノードワークフロー一式をご用意しました。トークンの受け渡しや複雑なJSONエスケープ処理を手動で行う必要はありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["以下のJSONコードをコピーして、n8nキャンバスに貼り付けてください（Ctrl+V）。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n\n\"nodes\": [\n\n{\n\n\"parameters\": {\n\n\"method\": \"POST\",\n\n\"url\": \"https://api.morelogin.com/oauth2/token\",\n\n\"sendBody\": true,\n\n\"contentType\": \"json\",\n\n\"bodyParameters\": {\n\n\"parameters\": [\n\n{\n\n\"name\": \"client_id\",\n\n\"value\": \"YOUR_APP_ID_HERE\"\n\n},\n\n{\n\"name\": \"client_secret\",\n\n\"value\": \"YOUR_SECRET_KEY_HERE\"\n\n},\n\n{\n\"name\": \"grant_type\",\n\n\"value\": \"client_credentials\"\n\n}\n\n]\n\n},\n\n\"options\": {}\n\n},\n\n\"id\": \"step_1_auth\",\n\n\"name\": \"ステップ1：トークンの取得\",\n\n\"type\": \"n8n-nodes-base.httpRequest\",\n\n\"typeVersion\": 4.1,\n\n\"position\": [\n\n460,\n\n300\n\n]\n\n},\n\n{\n\"parameters\": {\n\n\"method\": \"POST\",\n\n\"url\": \"https://api.morelogin.com/cloudphone/rpa/onceTask/save\",\n\n\"sendHeaders\": true,\n\n\"headerParameters\": {\n\"parameters\": [\n{\n\"name\": \"Authorization\",\n\n\"value\": \"={{ 'Bearer ' + $json.data.access_token }}\"\n\n}\n\n]\n\n},\n\n\"sendBody\": true,\n\n\"contentType\": \"json\",\n\n\"bodyParameters\": {\n\n\"parameters\": [\n\n{\n\"name\": \"cloudPhoneId\",\n\n\"value\": 1234567890\n\n},\n\n{\n\"name\": \"templateId\",\n\n\"value\": 1678347487160256\n\n},\n\n{\n\"name\": \"scheduleName\",\n\n\"value\": \"n8n-Auto-Task\"\n\n},\n\n{\n\"name\": \"description\",\n\n\"value\": \"n8n経由でトリガーされました\"\n\n},\n\n{\n\"name\": \"templateParameter\",\n\n\"value\": \"={{ JSON.stringify({\\n \\\"Video Caption\\\": \\\"My Automation Video\\\",\\n \\\"AI Label\\\": true,\\n \\\"Product Id\\\": 1001,\\n \\\"Get Leads\\\": false,\\n \\\"Comment\\\": \\\"Great content!\\\"\\n}) }}\"\n\n}\n\n]\n\n},\n\n\"options\": {}\n\n},\n\n\"id\": \"step_2_run_task\",\n\n\"name\": \"ステップ2：タスクの実行\",\n\n\"type\": \"n8n-nodes-base.httpRequest\",\n\n\"typeVersion\": 4.1,\n\n\"position\": [\n\n680,\n\n300\n],\n\n\"dependencies\": {\n\"nodes\": [\n{\n\"node\": \"ステップ1：トークンの取得\",\n\n\"type\": \"main\",\n\n\"index\": 0\n}\n\n]\n\n}\n}\n\n],\n\n\"connections\": {\n\"ステップ1：トークンの取得\": {\n\"main\": [\n\n[\n{\n\"node\": \"ステップ2：タスクの実行\",\n\n\"type\": \"main\",\n\n\"index\": 0\n}\n\n]\n\n]\n\n}\n\n}```\n","lang":"json"},"children":[]}]},"headings":[{"value":"n8n","id":"n8n","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"ワンクリックワークフローインポート","id":"ワンクリックワークフローインポート","depth":2}],"frontmatter":{"seo":{"title":"n8n"}},"lastModified":"2026-06-10T11:47:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/rparobotic-process-automation/04-integration/n8n","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}