"inputs":[{"intent":"actions.intent.CHECK_AIR_QUALITY","rawInputs":[{"inputType":"VOICE","query":"what is the air quality in san francisco tomorrow"}],"arguments":[{"name":"location","structuredValue":{"geo":{"longitude":-122.41941550000001,"latitude":37.7749295},"@context":"https://schema.org","@type":"Place","name":"san francisco"}},{"name":"temporalCoverage","rawText":"2018-04-25","textValue":"2018-04-25"}]}]
app.intent('actions.intent.CHECK_AIR_QUALITY',(conv)=>{constattributes=conv.arguments.get('attributes');constlocation=conv.arguments.get('location');consttemporal_coverage=conv.arguments.get('temporalCoverage');Consttime_indicator=conv.arguments.get('timeIndicator')//YourActionlogic.Ifyouneedtouseanyoftheparametervalues,//youshouldcheckfirstthatitisdefined.Arguments.getreturns//undefinedifitcan't find a value for a parameter.});
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eBuilt-in intents allow your Google Action to handle specific user requests, like playing games or getting horoscopes, by mapping them to actions within your Action.\u003c/p\u003e\n"],["\u003cp\u003eYou can integrate built-in intents using Dialogflow (graphically) or the Actions SDK (through code) to specify how your Action responds to these intents.\u003c/p\u003e\n"],["\u003cp\u003eBuilt-in intents often include parameters (like location or time) that you can access in your Action's code to provide a more tailored user experience.\u003c/p\u003e\n"],["\u003cp\u003eTo test your integration, use the Actions simulator or your device to trigger the intent and ensure your Action is invoked and handles the request appropriately.\u003c/p\u003e\n"],["\u003cp\u003eFor optimal user experience, directly address the user's request when a built-in intent triggers your Action and utilize any provided parameters to avoid unnecessary prompts.\u003c/p\u003e\n"]]],[],null,[]]