This is a follow on to a previous request where I generated 3 scripts to perform bulk edits on Article Creator tasks using the SCM API.
I have generated and uploaded API docs specifically for consumption by AI models.
This is needed because if you open Chat GPT and ask it to create scripts to edit tasks, it can only guess at what parameters and routes it has access to.
Example 1: Create a Google Maps Task
Inside ChatGPT
Ask it to create Google maps task.
Unfortunately the base payload it gives is completely wrong.
Instead we give it the JSON API docs
Here is query.
Unfortunately it gives bad advice here
There is no MapQuery.
So I told it in chat.
Now it seems to re-read the JSON api docs properly.
This advice is correct.
We can tell it to create a simple html script to check if it works.
Running the html file.
Verifying it worked in SCM.
Example 2: Bulk edit Article Creator
It is possible to get the AI to create scripts for us to do other things.
eg: Bulk editing all Article Creator tasks to generate 5 scraped articles.
Instead of telling it the JSON API url, we can download the file github and attach it as well.
As long as the prompt is accurate and specific it tends to understand.
If you have problems you will likely need to run the output check whats wrong and tell ChatGPT what it needs to fix.
However with the JSON API file, it is much more accurate than if you tried prompting it without that file.










