What are you trying to achieve?
I am automating daily blog posts for different perfumes on my Shopify store using Make (Integromat) with OCodeKit and OpenAI. However, I am facing a JSON syntax error when sending data through the webhook. I want to resolve the issue and ensure my articles are successfully created in the correct Shopify blog category.
Steps taken so far
"I have set up my scenario as follows:
Trigger: OCodeKit webhook.
Step 1: OpenAI generates an article based on perfume data.
Step 2: The generated content is sent to Shopify’s “Create an Article” module.
Step 3: I mapped the Shopify Blog field, but I couldn’t select the exact blog because I had many previous articles and categories.
Step 4: The scenario fails with a JSON syntax error related to an unrecognized token.**
I suspect that the JSON structure in my webhook might be incorrect, or my Shopify blog handle is missing. How can I:
Ensure my JSON payload is properly formatted?
Manually enter the correct Shopify blog handle for my articles?
Fix the “unrecognized token” error in my JSON request?"
Any guidance would be highly appreciated!