I have the requirement to document a list of Flows and Workflows from an environment. In lieu of doing this in a manual and painstaking way, opening each Flow and documenting one by one in an excel template, I want to use Chat GPT prompts to document these in a table for me - listing each with a Process Name, Table name, Trigger, Condition(s), Action(s), etc.
At this point I have a list of 163 Flows in a folder from solution that I exported. They are each JSON files. I tested out using Chat GPT to document the Flow by opening the first JOSN file, copying the code into a prompt, and telling Chat GPT to document it for me, calling out the columns in a table that I desired. This worked.
However, I don't want to open up each JSON file and do this over and over 162 more times. So, I am looking for an efficient way to combine all 163 rows (or at least batches at a time) into a prompt so that this can be an easier process. I don't know of a way to include the file itself into the prompt...is there a better way to get this done? Looking for any ideas or suggestions. Below is an example prompt I used for one line of JSON.
Thanks in advance!
I have a Dynamics 365 process, create a table that tells me the trigger, the table, the actions and what is updated based on the following definitions: <insert JSON code snippet here>