如何透過 Shoply 外掛程式在 Gmail 中取得建議的電子郵件回覆

A customer's question email, the Shoply panel in Gmail with a hand pressing its suggest button, and a reply draft listing three products, linked by an arrow and finished with a green check

Shoply AI Email Assistant 是提供給使用 Shoply AI 商店的 Gmail 外掛程式。在網頁版 Gmail 中開啟客戶電子郵件後,按下 Suggest reply,Shoply 就會根據您商店的商品、政策與訂單資訊撰寫回覆,方式與它在您商店聊天中回覆顧客相同。再按一下,就能把該回覆轉成回覆草稿。您可以先閱讀、視需要編輯,然後自行按下 Send。

這個外掛程式目前處於試行階段。只有列入 Shoply AI Email Assistant 試行名單的商店才能取得建議回覆。若要加入,請寄信至 support@shoplyai.ai。

這個外掛程式會做什麼?

  • 只有在您要求時才會運作。 開啟電子郵件時不會傳送任何內容給 Shoply。只有在您按下 Suggest reply 或 Regenerate 時,外掛程式才會傳送您目前開啟的電子郵件。
  • 它只會撰寫草稿,不會直接寄出電子郵件。 Insert as reply draft 會在 Gmail 中開啟一封給寄件者的回覆,並自動填入答案。外掛程式無法寄送電子郵件。
  • 無法確定的電子郵件會交由您處理。 當 Shoply 沒有足夠把握,或該電子郵件屬於行銷信件或垃圾郵件時,側邊面板會顯示這封郵件需要人工回覆。
  • 它不能變更訂單。 Shoply 在撰寫回覆時,無法取消訂單或執行任何其他操作。回覆只是提供您審核的文字內容。

開始之前

  • 已列入試行名單的商店,且已完成 Shoply AI 設定。
  • 網頁版 Gmail,使用您平時回覆客戶的 Google 帳戶。
  • 您商店的 Shoply 管理後台,用來複製商店金鑰並建立密鑰。

步驟 1:複製您的商店金鑰

在 Shoply 管理後台中,開啟 Settings,並在 AI Email Assistant 區段中找到 Gmail sidebar add-on。按下商店金鑰旁邊的 Copy。

The Gmail sidebar add-on section of Shoply's Settings page, with the store key demosnow.myshopify.com and a Copy button
The Gmail sidebar add-on section in the Shoply admin’s Settings.

步驟 2:建立商店擁有者 API 密鑰

在同一個 Settings 頁面中,前往 Store owner API secret 區段,按下 Create API secret,並立即複製該密鑰。Shoply 只會顯示一次,而且它的有效期限為 90 天。

The Store owner API secret section with a Create API secret button and one secret that expires Feb 22, 2027
Create API secret. Each secret shows when it expires.

步驟 3:安裝外掛程式

在試行期間,Shoply 支援團隊會授予您的 Google 帳戶存取此外掛程式的權限。開啟 Google 傳送給您的連結,選擇 Deploy,接著選擇 Test deployments,然後按下 Install,再按 Done。

Google Apps Script's Test deployments window for a Google Workspace add-on, with an Install button for Gmail
The Test deployments window. Press Install, then Done.

步驟 4:開啟外掛程式並允許其權限

在網頁版 Gmail 中開啟任何一封電子郵件,然後點選右側面板中的橘色 S 圖示。第一次使用時,面板會顯示「Permission required」。按下 Grant permission,並在 Google 畫面中核准權限。

Gmail's side panel with the orange Shoply S icon below Calendar, Keep, Tasks and Contacts
The add-on panel the first time it opens: Permission required, with a Grant permission button
The Shoply icon, and the first-time permission screen.

此外掛程式會向 Google 要求四項權限:

  • 以 Gmail 外掛程式身分執行,以便顯示在 Gmail 的側邊面板中。
  • 讀取目前開啟的電子郵件,以便在您要求時,將該封郵件傳送給 Shoply。
  • 在您按下按鈕時建立草稿,以便將回覆插入為草稿。
  • 連線到外部服務,以便連接到 Shoply 的伺服器 api.shoplyai.ai。

步驟 5:連接您的商店

按下 Open settings,貼上商店金鑰與密鑰,然後按下 Save。外掛程式會將兩者儲存在您 Google 帳戶中,供此外掛程式使用的私人儲存空間。儲存後,它只會顯示密鑰的最後四個字元。

The add-on's Settings after saving: the store key demosnow.myshopify.com, a Store owner API secret field that shows only the saved secret's last characters, and Save and Remove credentials buttons
The add-on’s Settings.

我要如何取得建議回覆?

  1. 開啟客戶電子郵件並按下 Suggest reply。面板會先顯示該郵件的主旨與寄件者。
  2. 幾秒鐘後,面板會顯示郵件類型以及 Shoply 的回覆,商品名稱會以粗體顯示。如果回覆沒有切中重點,請按下 Regenerate。
  3. 按下 Insert as reply draft。Gmail 會開啟一封給寄件者的回覆,並套用格式化內容:商品名稱會變成連結,且每項商品後方都會附上一張包含照片與價格的卡片。您可視需要編輯,然後按下 Send。
The add-on panel for the email Black ski goggles under $100?, with a Suggest reply button
A suggested reply recommending three black ski goggles under $100 with bold product names, and Insert as reply draft and Regenerate buttons
Press Suggest reply, then read the suggested reply.
The Gmail reply draft: the answer with linked product names, then product cards with photos and prices
The reply draft Gmail opens after Insert as reply draft. Nothing is sent until you press Send.

每一則建議回覆都會計入我的方案用量嗎?

會。每一則建議回覆都會視為一次 chat,計入您方案在該計費週期內的 chat 額度,就和與顧客的一次對話相同。Regenerate 會產生新的回覆,因此也會再計算一次 chat。當 Shoply 表示某封電子郵件需要人工回覆時,該結果不會消耗 chat。

外掛程式會使用哪些電子郵件資料?

此外掛程式只會在您按下 Suggest reply 或 Regenerate 時,將目前開啟郵件的主旨、日期、訊息 ID、寄件者、To 與 Cc 位址,以及最多 20,000 個字元的郵件文字內容傳送給 Shoply。它絕不會傳送附件,也不會傳送您信箱中的其他郵件。Shoply 會將每次請求保留 90 天,因此這些資料會顯示在您的 Shoply 管理後台近期郵件清單中,之後便會刪除。Shoply 對 Google API 資訊的使用,遵循 Google API Services User Data Policy,包括其 Limited Use requirements。

詳細內容請參閱 Shoply 的 Privacy Policy 與 Terms of Service。

我要如何中斷連接或移除此外掛程式?

  • 若要中斷商店連接,請開啟外掛程式選單(三個點),選擇 Settings,然後按下 Remove credentials。這會從您的 Google 帳戶中刪除已儲存的商店金鑰與密鑰。
  • 若要移除外掛程式,請開啟外掛程式選單並選擇 Manage add-on。
  • 若要讓某組密鑰失效,請在 Shoply 管理後台的 Store owner API secret 區段中,按下該密鑰旁邊的 Revoke。

我可以在哪裡取得協助?

請寄信至 support@shoplyai.ai。外掛程式中的 Help 選單項目會開啟此頁面。