[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[[["\u003cp\u003eIntents can be triggered by events, in addition to matching end-user expressions with training phrases.\u003c/p\u003e\n"],["\u003cp\u003eThere are two types of events: platform events, which are built-in and provided by platform integrations, and custom events, which are defined by the user.\u003c/p\u003e\n"],["\u003cp\u003ePlatform events are invoked by platform-specific events, such as the \u003ccode\u003eFACEBOOK_LOCATION\u003c/code\u003e event, while custom events can be invoked using fulfillment or the API.\u003c/p\u003e\n"],["\u003cp\u003eIntents can be configured to be triggered when specific events are invoked by adding the event names to the "Events" section in the Dialogflow ES console.\u003c/p\u003e\n"],["\u003cp\u003eWhen events are invoked, they may include parameter data that can be accessed within the responses of the triggered intent.\u003c/p\u003e\n"]]],[],null,["# Events\n\nIntents are normally matched when\nan end-user expression matches an intent training phrase.\nHowever, you can also trigger intents using *events*.\nEvents can be invoked in many ways.\n\nThere are two types of events:\n\n- [**Platform events**](/dialogflow/docs/events-platform): These built-in events are provided by platform [integrations](/dialogflow/docs/integrations). They are invoked when platform-specific events occur. For example, the `FACEBOOK_LOCATION` event is invoked by the Facebook integration when an end-user accepts or rejects a request for the end-user's location.\n- [**Custom events**](/dialogflow/docs/events-custom): These are events that you define. You can invoke these events using either [fulfillment](/dialogflow/docs/fulfillment-overview) or [the API](/dialogflow/docs/api-overview). For example, you might set a timed alert during a conversation, which invokes an event at a certain time. This event could trigger an intent that alerts the end-user about something.\n\nConfigure an intent for events\n------------------------------\n\nEvents are identified simply by their name.\nPlatform-specific events have specific names,\nbut you can name custom events anything.\n\nTo configure an intent so that it is triggered\nwhen certain events are invoked:\n\n1. Go to the [Dialogflow ES console](https://dialogflow.cloud.google.com).\n2. Select an agent.\n3. Select **Intents** in the left sidebar menu.\n4. Select an intent.\n5. Expand the *Events* section.\n6. Enter one or more event names.\n\nTo update intent events with the API,\nsee the [Intents](/dialogflow/docs/reference/common-types#intents) type.\n\nEvent parameters\n----------------\n\nWhen invoked, events may also have parameter data\nthat you can access in the triggered intent's responses.\nFor more information, see\n[Parameter reference for an event parameter](/dialogflow/docs/intents-actions-parameters#event)."]]