Power BI データセットの refreshed と履歴監視を自動化

初級

これはEngineering, Multimodal AI分野の自動化ワークフローで、5個のノードを含みます。主にPowerBi, ManualTriggerなどのノードを使用。 Power BIデータセットの刷新と履歴監視の自動化

前提条件
  • 特別な前提条件なし、インポートしてすぐに使用可能
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "efb474b59b0341d7791932605bd9ff04a6c7ed9941fdd53dc4a2e4b99a6f9439",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "be660458-e667-4bad-84c6-b43635acb074",
      "name": "ワークフロー実行時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -520,
        -200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "34b3425b-e8ce-4713-a786-417b898e3b89",
      "name": "付箋16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1460,
        -1000
      ],
      "parameters": {
        "color": 5,
        "width": 832,
        "height": 1360,
        "content": "## 📬 Need Help or Want to Customize This?\n📧 [robert@ynteractive.com](mailto:robert@ynteractive.com)  \n🔗 [LinkedIn](https://www.linkedin.com/in/robert-breen-29429625/)\n\n\n\n### Step 1: Set Up Azure App Registration\n\n1. Go to [Azure Portal](https://portal.azure.com/)\n2. Navigate to **Azure Active Directory** → **App registrations**\n3. Click **New registration**\n4. Configure your app:\n   - **Name**: `n8n-powerbi-integration`\n   - **Supported account types**: Accounts in this organizational directory only\n   - **Redirect URI**: `https://your-n8n-instance.com/rest/oauth2-credential/callback`\n5. Click **Register**\n6. Note down the **Application (client) ID** and **Directory (tenant) ID**\n\n### Step 2: Configure App Permissions\n\n1. In your app registration, go to **API permissions**\n2. Click **Add a permission** → **Power BI Service**\n3. Select **Delegated permissions** and add:\n   - `Dataset.ReadWrite.All`\n   - `Dataset.Read.All`\n   - `Workspace.Read.All`\n4. Click **Grant admin consent** for your organization\n\n### Step 3: Create Client Secret\n\n1. In your app registration, go to **Certificates & secrets**\n2. Click **New client secret**\n3. Add description: `n8n-powerbi-secret`\n4. Set expiration (recommended: 24 months)\n5. Click **Add** and copy the secret value immediately\n\n### Step 4: Configure Power BI API Credentials in n8n\n\n1. In n8n, go to **Credentials** → **Add Credential** → **Power BI OAuth2 API**\n2. Configure as follows:\n   - **Client ID**: Your Application (client) ID from Step 1\n   - **Client Secret**: Your client secret from Step 3\n   - **Scope**: `https://analysis.windows.net/powerbi/api/.default`\n3. Save and test the connection\n"
      },
      "typeVersion": 1
    },
    {
      "id": "921821cb-ca64-49c9-87d6-083395532c72",
      "name": "データソースの更新",
      "type": "n8n-nodes-powerbi.powerBi",
      "position": [
        -180,
        -360
      ],
      "parameters": {
        "groupId": "me",
        "resource": "dataset",
        "datasetId": "475347ba-f8d9-4f9d-b5c7-87fa6d5afd4c",
        "operation": "refresh"
      },
      "credentials": {
        "powerBiApiOAuth2Api": {
          "id": "fEMWdLtLYSmHmvlb",
          "name": "Power BI account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "53dccada-90a0-4408-aaab-395366109010",
      "name": "更新履歴の確認",
      "type": "n8n-nodes-powerbi.powerBi",
      "position": [
        -180,
        -20
      ],
      "parameters": {
        "top": 10,
        "groupId": "me",
        "resource": "dataset",
        "datasetId": "475347ba-f8d9-4f9d-b5c7-87fa6d5afd4c",
        "operation": "getRefreshHistory"
      },
      "credentials": {
        "powerBiApiOAuth2Api": {
          "id": "fEMWdLtLYSmHmvlb",
          "name": "Power BI account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "79ad7fb7-eadb-491d-80bc-6626facd7d3d",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -600,
        -1000
      ],
      "parameters": {
        "color": 4,
        "width": 712,
        "height": 1360,
        "content": "\n#### Node Configuration Details:\n\n##### When clicking 'Execute workflow' (Manual Trigger)\n- **Type**: Manual Trigger\n- **Purpose**: Allows manual execution of the workflow\n- No configuration needed\n\n##### Refresh Datasource (Power BI)\n- **Resource**: `dataset`\n- **Operation**: `refresh`\n- **Group ID**: `me` (for personal workspace) or your workspace ID\n- **Dataset ID**: Your Power BI dataset ID (from Step 5)\n- **Credentials**: Select your \"Power BI account\"\n\n##### Check Refresh History (Power BI)\n- **Resource**: `dataset`\n- **Operation**: `getRefreshHistory`\n- **Group ID**: `me` (for personal workspace) or your workspace ID  \n- **Dataset ID**: Your Power BI dataset ID (same as above)\n- **Top**: `10` (number of recent refresh records to retrieve)\n- **Credentials**: Select your \"Power BI account\"\n\n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "be660458-e667-4bad-84c6-b43635acb074": {
      "main": [
        [
          {
            "node": "921821cb-ca64-49c9-87d6-083395532c72",
            "type": "main",
            "index": 0
          },
          {
            "node": "53dccada-90a0-4408-aaab-395366109010",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

初級 - エンジニアリング, マルチモーダルAI

有料ですか?

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

関連ワークフロー

子アジェントツールを備えた初学者向けマネージャーダッシュボード
子エージェントツールを備えた初心者向けマネジメントエージェント
Agent
Agent Tool
Lm Chat Open Ai
+
Agent
Agent Tool
Lm Chat Open Ai
13 ノードRobert Breen
エンジニアリング
AI生成LinkedIn投稿(人間による承認付き)
GPT-4、GoToHuman、Blotatoを使用したAI生成LinkedIn投稿(人間による承認付き)
Code
Merge
Filter
+
Code
Merge
Filter
19 ノードRobert Breen
ソーシャルメディア
Google SheetsでカスタムパイヴォットテーブルとVLOOKUPを用いてマーケティング支出データを集約
GoogleスプレッドシートでカスタムパイバットテーブルとVLOOKUPでマーケティングの支出データを集約
Merge
Summarize
Google Sheets
+
Merge
Summarize
Google Sheets
10 ノードRobert Breen
文書抽出
GPT-4oを使ってOutlookのメールを自動でカラーカテゴリに分類する
GPT-4oを使ってOutlookのメールをカラーリストに自動分類
Set
Manual Trigger
Split In Batches
+
Set
Manual Trigger
Split In Batches
13 ノードRobert Breen
AI要約
ブログコンテンツの多言語自動翻訳
GPT-4oとMarkdownを使用してブログ記事を自動で複数の言語に翻訳
Set
Merge
Split Out
+
Set
Merge
Split Out
12 ノードRobert Breen
コンテンツ作成
Indeedの求人情報スクレイピングとGPT-4o-miniを使った自動職業紹介状ジェネレーター
Indeed 求人クリーニングと GPT-4o-mini を用いた自動求職者レターゲンエイター
Set
Http Request
Manual Trigger
+
Set
Http Request
Manual Trigger
10 ノードRobert Breen
マルチモーダルAI
ワークフロー情報
難易度
初級
ノード数5
カテゴリー2
ノードタイプ3
難易度説明

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

作成者
Robert Breen

Robert Breen

@rbreen

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34