下載工作流程表單回應
你可以在工作空間或 Enterprise 組織下載工作流程表單回應。如要刪除回應,請提交請求。
注意:如果你沒有在工作流程建立工具中看到下載工作流程表單回覆的選項,請向擁有者或管理員尋求協助。
下載工作流程表單回應
有幾種方法可以下載工作流程表單資料。要使用哪種方法,取決於工作流程是在工作流程建立工具中建立,還是由組織中使用 Slack 平台工具的開發人員建立。
在工作流程建立工具中建立的工作流程
開發人員建立的工作流程
- 從桌面按一下側欄中的「工具」。
- 在「工作流程」中,按一下「由你管理」。
- 按一下工作流程旁的「 鉛筆圖示」,在工作流程建立工具中開啟工作流程。
- 按一下右上角的「 三個點圖示」,然後從功能表選取「下載表單回覆」。如果工作流程包含多個表單,你必須先從下拉式功能表中選擇一個。
檔案就緒後,你會收到含有檔案連結的 Slackbot 私訊 (DM)。
Use an API
- Call functions.workflows.steps.list.API to view a list of steps that include form responses. The function_id for the OpenForm built-in function is Fn010N, and you should also note the step_id for the steps you'd like to download as you'll need it later.
- Call functions.workflows.steps.responses.export API to download the form responses you need.
You'll get a direct message (DM) from Slackbot with a link to the file when it's ready.
Use the Slack CLI
- Download and install the Slack CLI (if you haven't already).
- From a terminal, change your working directory to the app's project directory.
- Run the slack open-form-respond export --workflow <workflow reference> command. The workflow reference is a string formatted like this: #/workflows/<callback_id>. The callback_id is assigned to the workflow in the app manifest.
- Select the app, environment, and which OpenForm step you'd like to download responses from. OpenForm steps will only be listed if they have data from at least one workflow run available.
You'll get a direct message (DM) from Slackbot with a link to the file when it's ready.
注意:在工作流程表單 CSV 檔案中,「提交時區」時間戳記結尾的 Z 代表 UTC 時區。
提示:在 Enterprise 組織中,你也可以從已發布的工作流程控制面板下載工作流程表單回應。
聯絡我們要求刪除
組織主要擁有者或工作空間主要擁有者可以聯絡我們的支援團隊,要求刪除工作流程表單回覆。如果你是主要擁有者,且有人因合規性問題要求你刪除工作流程表單回覆,請傳送電子郵件至 feedback@slack.com,並附上以下資訊:
- 工作流程的識別資訊 (例如連結、工作流程識別碼或 callback_id)
- 表單的標題,或任何包含表單的步驟之 step_id
- 填寫表單人員的 user_id,以及填寫表單的時間範圍