Growise AI

如何將 Scraper 擷取資料用於 Input Action?

在 Growise 中,您可以將 No-code Scraper AI 抓取的資料直接作為 Input Action 的輸入來源,無需手動複製貼上。以下提供完整操作指南,讓 Scraper 資料自動注入 Workflow,適用於定時報告、批量內容生成等場景。

 

前提條件

  • 已建立並成功執行過至少一個 No-code Scraper。
  • Scraper 輸出為 結構化資料陣列(每筆資料含欄位,如 title、content、url 等)。

 

步驟 1:在 Input Action 中新增「Scraper 欄位」

  1. 開啟或新增一個 Workflow。
  2. 使用手動觸發,會自動包含 Input Action。
  3. 在 Input Action 內點擊 「+ 新增欄位」。
  4. 選擇欄位類型:「Scraper」。
  5. 系統會顯示您所有已建立的 Scraper Fields,選擇目標 Scraper(例如:競爭對手新聞 Scraper)。
  6. 設定欄位名稱:例如命名為 scraped_data(後續引用)

 

步驟 2:在後續動作中引用 Scraper 資料
在其他 Action Setting 中,引用 Scraper 資料僅需輸入「#」,就會顯示相關參數,如 #scraped_data。

 

範例:每日競爭情報簡報

  1. 設定 Input Action 與使用 Scraper 來源欄位 “競爭對手新聞 Scraper”,命名為 scraped_data
  2. 新增 Loop Through Data Action 並
    – 輸入來源:#scraped_data
  3. 設定 Loop Through Data Action 內的 Sub Actions
    – 為每一個 Sub Action 設定使用 #this_loop_item,以確保可以迴圈 #scraped_data 的每一筆資料
    – Generate Text Action:閱讀 #this_loop_item 後生成摘要
    – Extract Action:擷取公司名、情緒、日期、地點
    – Send Email Notification Action:將上述資料發送 email 給指定人士。

 

如此一來,每一次執行都會先取得該 Scraper 的擷取資料集,自動生成當日摘要並寄出 Email。