[[["易于理解","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\u003eThis prebuilt component is designed to collect numeric sequences from users, allowing configuration of the minimum and maximum acceptable lengths for both individual chunks and the final sequence.\u003c/p\u003e\n"],["\u003cp\u003eThe component captures numerical input in segments, concatenating them until the user confirms they are done, using a specific intent for the end-of-sequence indication.\u003c/p\u003e\n"],["\u003cp\u003eUsers can interact with the component via telephony keypad (DTMF), and additional functionalities include options for repeating input, being placed in a waiting room, and receiving playback of the collected sequence.\u003c/p\u003e\n"],["\u003cp\u003eThe component features input parameters that control the length of the captured sequence and chunks, and it outputs a parameter that contains the collected numeric sequence.\u003c/p\u003e\n"],["\u003cp\u003eThe component provides sample dialogs demonstrating various interaction scenarios, such as single and multiple chunks, successful retries, as well as unsuccessful retries and unrecognized input, and it also provides naming convention tables.\u003c/p\u003e\n"]]],[],null,["# Numeric collection prebuilt component\n\nThis\n[prebuilt component](/dialogflow/cx/docs/concept/prebuilt-component)\ncollects numeric sequences from the end-user. The minimum and maximum\nlength accepted can be configured via input parameters.\n\nThe component captures chunks of digits from the user on each conversational\nturn and concatenates them to form the final sequence. The minimum and maximum\nlength accepted per chunk can be configured via input parameters.\n\nThe sequence capture will continue until the end-user\nindicates they are done with the sequence with input that matches the\n[prebuilt_components_confirmation_done intent](/dialogflow/cx/docs/concept/prebuilt-component#common-intents).\n\nLimitations\n-----------\n\nIn addition to the\n[common prebuilt component limitations](/dialogflow/cx/docs/concept/prebuilt-component#limits),\nthis prebuilt component has the following limitations:\n\n- Non-numeric characters are not supported. See [alphanumeric collection](/dialogflow/cx/docs/concept/prebuilt-component/alphanumeric-collection) for support of letters and numbers.\n\nRecommended agent settings\n--------------------------\n\n[Enable DTMF](/dialogflow/cx/docs/concept/parameter#dtmf) to allow users to input numeric values using the telephone keypad.\n\nAdditional functionalities\n--------------------------\n\nThe following additional functionalities are provided by this prebuilt component:\n\n- [Repeat](/dialogflow/cx/docs/concept/prebuilt-component#repeat-functionality)\n- [Waiting room](/dialogflow/cx/docs/concept/prebuilt-component#waiting-room-functionality)\n- [Playback](/dialogflow/cx/docs/concept/prebuilt-component#playback-functionality)\n\nSample dialogs\n--------------\n\nThe following sample dialogs demonstrate common scenarios handled by this\nprebuilt component. The sample dialogs demonstrate behavior when the component is\ncalled via telephony, which triggers the Default Welcome Intent and the first\nagent response at the start of the conversation.\n\n### Single chunk\n\nEnd-user provides numeric sequence in the first attempt; agent successfully accepts it.\n\n### Multiple chunks\n\nEnd-user provides numeric sequence in multiple chunks; agent successfully accepts it.\n\n### Successful retry\n\nEnd-user provides a numeric sequence in the first attempt; agent re-confirms it\nbut end-user says \"no\". Agent asks end-user to provide the sequence again.\nEnd-user provides and confirms the sequence and agent successfully accepts it.\n\n### Unsuccessful retries\n\nEnd-user provides a numeric sequence thrice and says \"no\" on the re-confirmation\nstep; component exits the flow on third failed confirmation.\n\n### Unrecognized input\n\nComponent exits the flow after the end-user provides unrecognized input three times.\n\nNaming conventions\n------------------\n\nThis prebuilt component uses the following naming conventions:\n\nInput parameters\n----------------\n\nInput parameters are parameters that are used to configure certain behaviors of\nthe component. The parameters will be used by one or more conditions within the\nflow to determine how the component should behave. Flow-scoped parameters must\nbe set on the start page of the component as described below. Session-scoped\nparameters may be set either by a calling flow, or on the start\npage of this component.\n\nYou can configure the minimum and maximum lengths accepted per capture and for\nthe final collected sequence by modifying\n[parameter presets](/dialogflow/cx/docs/concept/fulfillment#param-preset) in the\n[flow's start page](/dialogflow/cx/docs/concept/flow#data).\n\nThis prebuilt component accepts the following input parameters:\n\n#### To configure the input parameters for this component, expand for instructions.\n\n1. Open the [Dialogflow CX console](https://dialogflow.cloud.google.com/cx/projects).\n2. Choose your Google Cloud project.\n3. Select your agent.\n4. Select the **Build** tab.\n5. Click the imported component in the **Flows** section.\n6. Click the Start Page in the **Pages** section.\n7. Click the **true** Route in the Start Page.\n8. In the Route window, edit the **Parameter Presets** values as needed.\n9. Click **Save**.\n\nOutput parameters\n-----------------\n\nOutput parameters are session parameters that will remain active after exiting\nthe component. These parameters contain important information collected by the\ncomponent. This prebuilt component provides values for the following output\nparameters:\n\nBasic setup\n-----------\n\nTo set up this prebuilt component:\n\n1. [Import the prebuilt component](/dialogflow/cx/docs/concept/prebuilt-component#import).\n\n### Complete\n\nYour agent should now be set up and ready to test."]]