13 জুন, 2023 তারিখে কথোপকথনমূলক অ্যাকশন সূর্যাস্তের আগে 3 মে, 2023 তারিখে ট্রানজ্যাকশন API বাতিল করা হবে। আরও তথ্যের জন্য,
কথোপকথনমূলক অ্যাকশন সূর্যাস্ত দেখুন।
ডিজাইন নির্দেশিকা
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
আপনার লেনদেন প্রবাহের মাধ্যমে ব্যবহারকারীদের গাইড করার জন্য একটি কথোপকথন ডিজাইন করুন। আমরা রেফারেন্স উদাহরণ প্রদান করেছি যা আপনি আপনার নিজের লেনদেন সংক্রান্ত ক্রিয়া ডিজাইন করার সময় একটি গাইড হিসাবে ব্যবহার করতে পারেন।
উদাহরণ
ডিজাইন টিপস
নিশ্চিত করুন যে ডায়ালগগুলি স্বাভাবিক এবং কথোপকথন শোনাচ্ছে — যেভাবে একজন প্রকৃত ব্যক্তি কথা বলবেন।
আপনার টিটিএস/ভয়েস দ্বারা উচ্চারিত পাঠ্যটি আপনার চ্যাট বুদবুদে দেখানো পাঠ্যের সাথে হুবহু মেলে না। চ্যাট বুদবুদ কথ্য ডায়ালগের একটি উপসেট হলে এটি ভাল কাজ করে।
আপনার দর্শকদের অভিবাদন এবং তাদের নিযুক্ত করা. তাদের কী প্রয়োজন তা জিজ্ঞাসা করুন এবং সেগুলি শুরু করার জন্য কয়েকটি পরামর্শ চিপ অফার করুন।
ব্যবহারকারীকে কার্টে আইটেম যোগ করার জন্য আমন্ত্রণ জানানোর আগে, স্লট ফিলিং যোগ করে ব্যাকএন্ড চেক করুন এবং actions.type.TransactionRequirementsCheckResult
স্লট টাইপ ব্যবহার করে নিশ্চিত করুন যে ব্যবহারকারী তাদের Google অ্যাসিস্ট্যান্টের জন্য পেমেন্ট সেট আপ করেছেন।
অন্যান্য মোবাইল বা ওয়েব অভিজ্ঞতার মতো ভয়েসের সাথে একই সমস্যাগুলির প্রতিক্রিয়া জানাতে প্রস্তুত থাকুন৷ উদাহরণস্বরূপ, যখন আপনি একটি নির্দিষ্ট আকার বা রঙের বাইরে থাকেন তখন একটি অনুরূপ আইটেম অফার করুন, অথবা আইটেমটি আবার স্টকে থাকলে বিজ্ঞপ্তি পাওয়ার জন্য ব্যবহারকারীদের সাইন আপ করার জন্য আমন্ত্রণ জানান৷
নোট করুন যে অর্ডার সারাংশটি API এর মাধ্যমে আপনি পাস করা ডেটা দিয়ে তৈরি। "Pay with Google" লেবেল ব্যবহারকারীদের বুঝতে সাহায্য করে যে Google অর্থপ্রদানের সুবিধা করেছে।
আপনার ব্যবহারকারীদের কাছ থেকে তথ্যের অনুরোধ করার সময়, যেমন তাদের ঠিকানার তথ্য, প্রথমে তাদের জানান আপনি কেন অনুরোধ করছেন এবং এটি তাদের কীভাবে উপকৃত হবে।
Google ব্যবহারকারীর সেটিংসের উপর ভিত্তি করে ক্রয় অনুমোদন পদ্ধতি (হয় কোন প্রমাণীকরণের প্রয়োজন নেই, পাসওয়ার্ড বা আঙুলের ছাপ) উপস্থাপন করবে। কখনও কখনও আমাদের ঝুঁকি মূল্যায়ন একটি কার্ডের জন্য CVV নিশ্চিত করার মতো একটি অতিরিক্ত প্রমাণীকরণ পদক্ষেপ শুরু করবে।
অর্থপ্রদান সম্পূর্ণ হওয়ার পরে, একটি রসিদ এবং একটি অর্ডার নিশ্চিতকরণ পাঠাতে ভুলবেন না। এটি গুরুত্বপূর্ণ যে ব্যবহারকারীরা বুঝতে পারেন যে আপনি রেকর্ডের ব্যবসায়ী এবং অর্ডার সম্পর্কে সমস্ত বিবরণ অনুসরণ করবেন, Google নয়।
ডিফল্টভাবে লেনদেন হয় একটি স্ক্রীন সহ একটি পৃষ্ঠে (যেমন একটি Android ফোন) বা একটি ভয়েস-অনলি পৃষ্ঠে (যেমন একটি Google হোম) সঞ্চালিত হতে পারে।
শুধুমাত্র ভয়েস লেনদেনগুলিকে সর্বোত্তম সমর্থন করতে, একটি ভাল কথোপকথন অভিজ্ঞতা ডিজাইন করার জন্য অতিরিক্ত যত্ন নিন যা ব্যবহারকারীদের সম্পূর্ণ লেনদেনের অভিজ্ঞতার মধ্য দিয়ে নিয়ে যায়।
মনে রাখবেন কিছু লেনদেনের উদ্দেশ্যে একটি পর্দার প্রয়োজন হতে পারে। এর বেশিরভাগই (যেমন একটি নতুন ডেলিভারি ঠিকানা যোগ করা, অর্থপ্রদানের সমস্যা সমাধান করা, অ্যাকাউন্ট লিঙ্ক করা) স্বয়ংক্রিয়ভাবে ফোনে হস্তান্তর করা হবে। যদি কথোপকথনে কোনও সংযোজন থাকে যা একটি স্ক্রিনে সর্বোত্তমভাবে প্রদর্শিত হয় (যেমন কার্ড বিল্ডিংয়ের জন্য সমৃদ্ধ প্রতিক্রিয়া উপস্থাপন করা, একটি বণিক ToS বা গোপনীয়তা নীতি প্রদর্শন), আপনার বর্তমান পৃষ্ঠটি RICH_RESPONSE
বা WEB_LINK
সক্ষমতা সমর্থন করে কিনা তা পরীক্ষা করা উচিত এবং এতে স্থানান্তর করা উচিত একটি নতুন পৃষ্ঠ যদি না হয়.
আপনি যদি আপনার অ্যাকশনের সাথে শুধুমাত্র ভয়েস-শুধু লেনদেন সমর্থন না করেন, তাহলে অ্যাকশন কনসোলে Deploy > Surface capabilities- এ নেভিগেট করে এবং আপনার অ্যাকশনের জন্য স্ক্রীন আউটপুট চান সেট করে আপনার অ্যাকশন প্রোজেক্ট সেট করতে পারেন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eDesign conversational transactional flows, similar to natural human interactions, guiding users through the process.\u003c/p\u003e\n"],["\u003cp\u003eUtilize provided examples and design tips to create effective and user-friendly transactional Actions.\u003c/p\u003e\n"],["\u003cp\u003eEnsure clear communication, address potential issues proactively, and inform users about Google's role in payment processing.\u003c/p\u003e\n"],["\u003cp\u003eOptimize for both screen and voice-only interactions by tailoring the conversation and utilizing surface capabilities effectively.\u003c/p\u003e\n"],["\u003cp\u003eCustomize the user experience by enabling or disabling screen requirements based on your Action's functionalities.\u003c/p\u003e\n"]]],[],null,["# Design guidelines\n\nDesign a conversation to guide users through your transactional\nflows. We've provided reference examples that you can use as a guide\nwhen designing your own transactional Actions.\n\nExamples\n--------\n\n[](https://docs.google.com/presentation/d/1Zw-Cg4ODJWpEViJJT_LugxvFv1VeOB7Hw54wNQemrfg) [Shoe store Example](https://docs.google.com/presentation/d/1Zw-Cg4ODJWpEViJJT_LugxvFv1VeOB7Hw54wNQemrfg) \n[](https://docs.google.com/presentation/d/1RBVzklC8n7nPU98lRt1CkzDSFcBlaQf5PWVtlr58OQQ) [Ticketing example](https://docs.google.com/presentation/d/1RBVzklC8n7nPU98lRt1CkzDSFcBlaQf5PWVtlr58OQQ) \n[](https://docs.google.com/presentation/d/1icd64B_mJvba6lmhlfmUy35sejy5n-LsYYkvPXzUXgA) [Flower Shop Example](https://docs.google.com/presentation/d/1icd64B_mJvba6lmhlfmUy35sejy5n-LsYYkvPXzUXgA)\n\nDesign tips\n-----------\n\n- Make sure the dialogs\n [sound natural and conversational](/assistant/conversational/df-asdk/design)\n --- the way a real person would talk.\n\n- The text spoken by your TTS/voice does not have to exactly match the text\n shown in your chat bubbles. It works well if the chat bubbles are a subset\n of the spoken dialog.\n\n- Greet your visitors and get them engaged. Ask what they need and offer a\n few suggestion chips to get them started.\n\n- Before inviting the user to add items to the cart, do a backend check by\n adding slot filling and using the `actions.type.TransactionRequirementsCheckResult`\n slot type to confirm the user has payments set up for their Google Assistant.\n\n- Be prepared to respond to the same issues with voice as with other mobile\n or web experiences. For example, offer a similar item when you're out of a\n certain size or color, or invite users to sign up to be notified when the\n item is back in stock.\n\n- Note that the order summary is built with the data you pass via the API.\n The \"Pay with Google\" label helps users understand that Google facilitated\n the payment.\n\n- When requesting info from your users, like their address info, first let\n them know why you are making the request and how it will benefit them.\n\n- Google will present the purchase authorization method (either no auth\n required, password, or fingerprint) based on the user's settings. Sometimes\n our risk assessment will kick off an additional auth step like confirming\n CVV for a card.\n\n- After the payment is complete, be sure to send a receipt and an order\n confirmation. It's important that users understand that you are the merchant\n of record, and will follow up with all details about the order, not Google.\n\n- By default transactions can be performed on either a surface with a\n screen (such as an Android phone) or a voice-only surface (such as a Google Home).\n\n - To best support voice-only transactions, take extra care to design\n a [good conversational experience](/assistant/conversational/df-asdk/design)\n that walks users through the full transaction experience.\n\n - Note that some transactions intents may require a screen. Most of these\n (e.g. adding a new delivery address, fixing payment issues, account linking)\n will be handed off to the phone automatically. If there are any additions\n to the conversation that are best displayed on a screen\n (e.g. presenting rich responses for card building, displaying a merchant\n ToS or privacy policy), you should check if the current surface supports\n the `RICH_RESPONSE` or `WEB_LINK`\n [capabilities](/assistant/conversational/reference/rest/v1/TopLevel/fulfill#capability),\n and transfer to a new surface if not.\n\n - If you would rather not support voice-only transactions with your\n Action, you can set your Actions project to require a screen by\n navigating to **Deploy \\\u003e Surface capabilities** in the\n [Actions console](https://console.actions.google.com) and setting\n **Do your Actions require a screen output** to **Yes**."]]