With the Shop Products flow, customers can now place their orders directly via bot conversations. The bot recommends products based on their needs and provides options to add and checkout products. It captures all the necessary information like order items, address details, and redirects to the Shopify website for payment. In this way, businesses can ensure seamless purchase experiences for their customers and eliminate friction in the buying process.
To take this bot live, follow the below instructions:
You need to create a custom/private app on your Shopify Store Admin to execute the bot workflow end to end. Follow this article for a step-by-step guide.
Once you have created this app, you can define the permissions and scope of this app. To execute the “browse products” flow, you would need access to the following scopes:
After you've set API scopes for your app, you can install the app. You'll get your API access tokens after you install them. Depending on what API scopes you assigned to the app, you'll get an Admin API access token, a Storefront API access token, or both.
Click Install app.
In the modal window, click Install app.
Get the Admin access token: go to the Admin API access token section and click Reveal token once.
Get the Storefront access token: go to the Storefront API access token section and copy your token. Unlike the Admin API access token, the Storefront API access token is always available on this page.
Now, you can set the following properties below dialog 1.1 on set properties.
Update Admin Access Token
Update Storefront Access Token