---
description: 了解如何使用事件來觸發 Dialogflow 意圖。
title: Dialogflow：事件
image: https://assets1-proxy.respond.io/api/v1/image/assets%2F11f7a662b80a4675973850b067c01fa5%2F3f43c48b21b24f4e8b02b100c0c8fab0
---

[新的🔥 搶先試試 WhatsApp Business Calling API（開放式測試版）！![arrow-icon](https://assets1-proxy.respond.io/api/v1/image/assets%2F11f7a662b80a4675973850b067c01fa5%2Fe43213a7a9314673bd8d2060c25f9b87)](/tw/whatsapp-business-calling-api)

幫助我... ⌘ 

1. [All Collections >](/tw/help)
2. [ 集成 >](/tw/help/integrations)
3. [ 對話流 >](/tw/help/dialogflow)
4. Dialogflow：事件

# Dialogflow：事件

![Avatar](https://assets2-proxy.respond.io/ph8r57dk1q9w/4IHLTWbmWN0uXBc5x4jthC/59252fcdb357304ce07be76043047b7a/Susan_Swier_Avatar.svg)

Susan Swier

· 04 Apr 2025

少於一分鐘

使用事件觸發 Dialogflow 意圖。

除了使用者輸入之外，事件也用於觸發意圖。 當事件發生時，任何具有「事件」部分下列出的事件名稱的意圖都會被觸發。

![](https://assets2-proxy.respond.io/ph8r57dk1q9w/1qpqHKvp9ecJjt3mn6pdJ5/bd470af98140b371c3cda358d7256b6e/dialogflow-events-1.png?fm=avif&w=1000) 

一個很好的例子是預設的 `WELCOME` 事件，它已經內建在 Dialogflow 中。 每當新用戶開始與機器人聊天時，就會觸發此事件。

## 參數 URL 

當使用者從參數 URL 到達時，任何包含 `REF_[PARAM]` 或 `REF_START_[PARAM]` 事件的意圖都會被觸發。

**例如：** m.me/respondio?ref=\[PARAM\]。

如果您希望自訂參數觸發 Dialogflow 意圖，請確保參數在意圖'的事件配置上具有 `REF_` 的前綴。 例如： `REF_PARAM`

![](https://assets2-proxy.respond.io/ph8r57dk1q9w/pItfG0apbxdYCp6tcR849/b33977b572799396f41ff0f66a3d1b07/dialogflow-events-2.png?fm=avif&w=1000) 

參考上面的例子，如果你想從 m.me/respondio?ref=medium 觸發一個意圖，請將 `REF_MEDIUM` 加入到意圖'的事件配置中。

> 請記住， `REF` 前綴對於 `WELCOME` 事件不是必需的，因為該事件是 Dialogflow 內建的預設事件。

分享這篇文章

[![Telegram](https://assets1-proxy.respond.io/api/v1/image/assets%2F11f7a662b80a4675973850b067c01fa5%2F44daca77a4844f0c8fd29040ddeba057?width=22)](https://api.whatsapp.com/send?text=https://respond.io/help/dialogflow/dialogflow-events)[![Facebook](https://assets1-proxy.respond.io/api/v1/image/assets/11f7a662b80a4675973850b067c01fa5/fff57eeb01160bc604392f519b4f3461ca16f0fa1b6a587b20b142cdf1ad0ba7?placeholderIfAbsent=true&width=22)](https://www.facebook.com/sharer/sharer.php?u=https://respond.io/help/dialogflow/dialogflow-events)[![Linkedin](https://assets1-proxy.respond.io/api/v1/image/assets/11f7a662b80a4675973850b067c01fa5/7aaf8d87b5410844d83e06a4ed663e4f551b8c5ef51dbb20a8ff064a1eed9a0f?placeholderIfAbsent=true&width=22)](https://www.linkedin.com/sharing/share-offsite/?url=https://respond.io/help/dialogflow/dialogflow-events)[![Twitter](https://assets1-proxy.respond.io/api/v1/image/assets%2F11f7a662b80a4675973850b067c01fa5%2F4e03e02422a94e8eab9b8b41457c2371?width=22)](http://twitter.com/share?url=https://respond.io/help/dialogflow/dialogflow-events)

## 

相關文章

* [Dialogflow：履行 Webhook 請求了解如何使用滿足Webhook請求將數據從respond.io傳遞到Dialogflow。 ](/tw/help/dialogflow/dialogflow-fulfillment-webhook-requests)
* [Dialogflow：自訂有效載荷了解 respond.io 上支援的自訂有效載荷。 ](/tw/help/dialogflow/dialogflow-custom-payloads)
* [Dialogflow：回應模板了解如何使用回覆範本向聯絡人發送回覆。 ](/tw/help/dialogflow/dialogflow-response-templates)
* [Dialogflow：參數了解如何在多種用例中使用自訂 Dialogflow 參數。 ](/tw/help/dialogflow/dialogflow-parameters)
* [Dialogflow：管理意圖透過配置意圖來個性化聊天機器人的回應。 ](/tw/help/dialogflow/dialogflow-managing-intents)

找不到您想要的東西？ 🔎

[聯繫支持](/tw/contact-us)

2025-12-05T04:04:12.707Z

help

```json
[{"@context":"https://schema.org","@type":"TechArticle","articleBody":"了解如何使用事件來觸發 Dialogflow 意圖。","author":{"@type":"Person","image":"https://assets2-proxy.respond.io/ph8r57dk1q9w/4IHLTWbmWN0uXBc5x4jthC/59252fcdb357304ce07be76043047b7a/Susan_Swier_Avatar.svg","name":"Susan Swier","url":"https://respond.io/tw/author/susan-swier"},"dateCreated":"2023-02-28T04:17:12.000Z","dateModified":"2025-04-04T09:55:38.329Z","datePublished":"2023-02-28T04:17:12.000Z","headline":"Dialogflow：事件","image":"https://assets2-proxy.respond.io/ph8r57dk1q9w/1qpqHKvp9ecJjt3mn6pdJ5/bd470af98140b371c3cda358d7256b6e/dialogflow-events-1.png","mainEntityOfPage":"https://respond.io/tw/help/dialogflow","publisher":{"@type":"Organization","logo":"https://respond.io/favicon/favicon.svg","name":"respondio"},"thumbnailUrl":"https://assets2-proxy.respond.io/ph8r57dk1q9w/1qpqHKvp9ecJjt3mn6pdJ5/bd470af98140b371c3cda358d7256b6e/dialogflow-events-1.png","url":"https://respond.io/tw/help/dialogflow/dialogflow-events"},{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Help","item":"https://respond.io/tw/help","position":1},{"@type":"ListItem","name":"集成","item":"https://respond.io/tw/help/integrations","position":2},{"@type":"ListItem","name":"對話流","item":"https://respond.io/tw/help/dialogflow","position":3},{"@type":"ListItem","name":"Dialogflow：事件","item":"https://respond.io/tw/help/dialogflow/dialogflow-events","position":4}]}]
```
