13 জুন, 2023 তারিখে কথোপকথনমূলক অ্যাকশন সূর্যাস্তের আগে 3 মে, 2023 তারিখে ট্রানজ্যাকশন API বাতিল করা হবে। আরও তথ্যের জন্য,
কথোপকথনমূলক অ্যাকশন সূর্যাস্ত দেখুন।
লেনদেন সংক্রান্ত কথোপকথন ডিজাইন করা (ডায়ালগফ্লো)
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
আপনার লেনদেন প্রবাহের মাধ্যমে ব্যবহারকারীদের গাইড করার জন্য একটি কথোপকথন ডিজাইন করুন। আমরা রেফারেন্স উদাহরণ প্রদান করেছি যা আপনি আপনার নিজের লেনদেন সংক্রান্ত ক্রিয়া ডিজাইন করার সময় একটি গাইড হিসাবে ব্যবহার করতে পারেন।
উদাহরণ
ডিজাইন টিপস
নিশ্চিত করুন যে ডায়ালগগুলি স্বাভাবিক এবং কথোপকথন শোনাচ্ছে — যেভাবে একজন প্রকৃত ব্যক্তি কথা বলবেন।
আপনার টিটিএস/ভয়েস দ্বারা উচ্চারিত পাঠ্যটি আপনার চ্যাট বুদবুদে দেখানো পাঠ্যের সাথে হুবহু মেলে না। চ্যাট বুদবুদ কথ্য ডায়ালগের একটি উপসেট হলে এটি ভাল কাজ করে।
আপনার দর্শকদের অভিবাদন এবং তাদের নিযুক্ত করা. তাদের কী প্রয়োজন তা জিজ্ঞাসা করুন এবং সেগুলি শুরু করার জন্য কয়েকটি পরামর্শ চিপ অফার করুন।
ব্যবহারকারীকে কার্টে আইটেম যোগ করার জন্য আমন্ত্রণ জানানোর আগে, actions.intent.TRANSACTION_REQUIREMENTS_CHECK
ব্যবহার করে ব্যাকএন্ড চেক করুন যাতে ব্যবহারকারী তাদের Google অ্যাসিস্ট্যান্টের জন্য পেমেন্ট সেট আপ করেছেন কিনা তা নিশ্চিত করতে।
অন্যান্য মোবাইল বা ওয়েব অভিজ্ঞতার মতো ভয়েসের সাথে একই সমস্যাগুলির প্রতিক্রিয়া জানাতে প্রস্তুত থাকুন৷ উদাহরণস্বরূপ, যখন আপনি একটি নির্দিষ্ট আকার বা রঙের বাইরে থাকেন তখন একটি অনুরূপ আইটেম অফার করুন, অথবা আইটেমটি আবার স্টকে থাকলে বিজ্ঞপ্তি পাওয়ার জন্য ব্যবহারকারীদের সাইন আপ করার জন্য আমন্ত্রণ জানান৷
নোট করুন যে অর্ডার সারাংশটি API এর মাধ্যমে আপনি পাস করা ডেটা দিয়ে তৈরি। "Pay with Google" লেবেল ব্যবহারকারীদের বুঝতে সাহায্য করে যে Google অর্থপ্রদানের সুবিধা করেছে।
আপনার ব্যবহারকারীদের কাছ থেকে তথ্যের অনুরোধ করার সময়, যেমন তাদের ঠিকানার তথ্য, প্রথমে তাদের জানান আপনি কেন অনুরোধ করছেন এবং এটি তাদের কীভাবে উপকৃত হবে।
Google ব্যবহারকারীর সেটিংসের উপর ভিত্তি করে ক্রয় অনুমোদন পদ্ধতি (হয় কোন প্রমাণীকরণের প্রয়োজন নেই, পাসওয়ার্ড বা আঙুলের ছাপ) উপস্থাপন করবে। কখনও কখনও আমাদের ঝুঁকি মূল্যায়ন একটি কার্ডের জন্য CVV নিশ্চিত করার মতো একটি অতিরিক্ত প্রমাণীকরণ পদক্ষেপ শুরু করবে।
অর্থপ্রদান সম্পূর্ণ হওয়ার পরে, একটি রসিদ এবং একটি অর্ডার নিশ্চিতকরণ পাঠাতে ভুলবেন না। এটি গুরুত্বপূর্ণ যে ব্যবহারকারীরা বুঝতে পারেন যে আপনি রেকর্ডের ব্যবসায়ী এবং অর্ডার সম্পর্কে সমস্ত বিবরণ অনুসরণ করবেন, Google নয়।
ডিফল্টভাবে লেনদেন হয় একটি স্ক্রীন সহ একটি পৃষ্ঠে (যেমন একটি Android ফোন) বা একটি ভয়েস-অনলি পৃষ্ঠে (যেমন একটি Google হোম) সঞ্চালিত হতে পারে।
শুধুমাত্র ভয়েস লেনদেনগুলিকে সর্বোত্তম সমর্থন করতে, একটি ভাল কথোপকথন অভিজ্ঞতা ডিজাইন করার জন্য অতিরিক্ত যত্ন নিন যা ব্যবহারকারীদের সম্পূর্ণ লেনদেনের অভিজ্ঞতার মধ্য দিয়ে নিয়ে যায়।
মনে রাখবেন কিছু লেনদেনের উদ্দেশ্যে একটি পর্দার প্রয়োজন হতে পারে। এর বেশিরভাগই (যেমন একটি নতুন ডেলিভারি ঠিকানা যোগ করা, অর্থপ্রদানের সমস্যা সমাধান করা, অ্যাকাউন্ট লিঙ্ক করা) স্বয়ংক্রিয়ভাবে ফোনে হস্তান্তর করা হবে। যদি কথোপকথনে কোনও সংযোজন থাকে যা একটি স্ক্রিনে সবচেয়ে ভালভাবে প্রদর্শিত হয় (যেমন কার্ড বিল্ডিংয়ের জন্য সমৃদ্ধ প্রতিক্রিয়া উপস্থাপন করা, একটি বণিকের ToS বা গোপনীয়তা নীতি প্রদর্শন করা), আপনার বর্তমান পৃষ্ঠটি SCREEN_OUTPUT
বা WEB_BROWSER
ক্ষমতা সমর্থন করে কিনা তা পরীক্ষা করা উচিত এবং এতে স্থানান্তর করা উচিত একটি নতুন পৃষ্ঠ যদি না হয়.
আপনি যদি আপনার অ্যাকশনের সাথে শুধুমাত্র ভয়েস-শুধু লেনদেন সমর্থন না করেন, তাহলে আপনি অ্যাকশন কনসোলে Deploy > Surface capabilities- এ নেভিগেট করে আপনার অ্যাকশন প্রোজেক্টকে একটি স্ক্রীনের প্রয়োজন হিসাবে সেট করতে পারেন এবং সেট করতে পারেন আপনার অ্যাকশনের জন্য একটি স্ক্রীন আউটপুট Yes এ সেট করুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eDesign conversational flows for transactional Actions, guiding users through the process similar to a real-world conversation.\u003c/p\u003e\n"],["\u003cp\u003eRefer to provided examples like Shoe store, Ticketing, and Flower Shop to understand transactional Action design.\u003c/p\u003e\n"],["\u003cp\u003eFollow design tips to ensure natural dialog, clear communication, and a smooth user experience, including pre-purchase checks and handling potential issues.\u003c/p\u003e\n"],["\u003cp\u003eTransactions can occur on screen and voice-only surfaces; optimize for both by crafting a comprehensive conversational experience and leveraging surface capabilities effectively.\u003c/p\u003e\n"],["\u003cp\u003eRemember to inform users about data requests, purchase authorization, and merchant responsibility for post-purchase communication.\u003c/p\u003e\n"]]],[],null,["# Designing Transactional Conversations (Dialogflow)\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 [sound natural and conversational](/assistant/actions/design) --- the way a real person would talk.\n\n- The text spoken by your TTS/voice does not have to exactly match the text shown in your chat bubbles. It works well if the chat bubbles are a subset of the spoken dialog.\n\n- Greet your visitors and get them engaged. Ask what they need and offer a few suggestion chips to get them started.\n\n- Before inviting the user to add items to the cart, do a backend check using `actions.intent.TRANSACTION_REQUIREMENTS_CHECK` 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 or web experiences. For example, offer a similar item when you're out of a certain size or color, or invite users to sign up to be notified when the item is back in stock.\n\n- Note that the order summary is built with the data you pass via the API. The \"Pay with Google\" label helps users understand that Google facilitated the payment.\n\n- When requesting info from your users, like their address info, first let 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 required, password, or fingerprint) based on the user's settings. Sometimes our risk assessment will kick off an additional auth step like confirming CVV for a card.\n\n- After the payment is complete, be sure to send a receipt and an order confirmation. It's important that users understand that you are the merchant 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 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 a [good conversational experience](/assistant/actions/design) that walks users through the full transaction experience.\n\n - Note that some transactions intents may require a screen. Most of these (e.g. adding a new delivery address, fixing payment issues, account linking) will be handed off to the phone automatically. If there are any additions to the conversation that are best displayed on a screen (e.g. presenting rich responses for card building, displaying a merchant ToS or privacy policy), you should check if the current surface supports the `SCREEN_OUTPUT` or `WEB_BROWSER` capabilities, and [transfer to a new surface](/assistant/df-asdk/surface-capabilities#multi-surface_conversations) if not.\n\n - If you would rather not support voice-only transactions with your Action, you can set your Actions project to require a screen by navigating to **Deploy \\\u003e Surface capabilities** in the [Actions Console](https://console.actions.google.com) and setting **Do your Actions require a screen output** to **Yes**."]]