gorgeous-zebra-55198
03/19/2024, 8:20 AMcold-jewelry-54343
03/19/2024, 10:35 AMjs
let intent = "Electronics"
The simplest method is to duplicate this code and assign a different value depending on the intent so if the intent is "Software":
js
let intent = "Software"
Alternatively there are different methods of doing this in code format but I would recommend this simpler approach.
Once you capture the intent
variable you can pass that along to make.com or do a query on your database to see if this product/category exists. Hope that helps !gorgeous-zebra-55198
03/19/2024, 6:44 PMgorgeous-zebra-55198
03/20/2024, 5:28 AMcold-jewelry-54343
03/20/2024, 7:45 AMgorgeous-zebra-55198
03/20/2024, 7:52 AMgorgeous-zebra-55198
03/20/2024, 7:52 AMgorgeous-zebra-55198
03/20/2024, 7:54 AMcold-jewelry-54343
03/20/2024, 1:51 PM