diff --git a/Appstore/Ai connect pro/Ai connect pro demo/Ai connect pro_01_Preflight report to HTML_GPT.xml b/Appstore/Ai connect pro/Ai connect pro demo/Ai connect pro_01_Preflight report to HTML_GPT.xml new file mode 100644 index 0000000..84c5e01 --- /dev/null +++ b/Appstore/Ai connect pro/Ai connect pro demo/Ai connect pro_01_Preflight report to HTML_GPT.xml @@ -0,0 +1,821 @@ + + +
+ + Ai connect pro_01_Preflight report to HTML_GPT + Flow + Created at 1/28/2025 8:32 AM + + Ai connect pro_01_Preflight report to HTML_GPT + 177 + No + 32 + E:/BlueWest/98-Utilitaires/Grille Switch.png + E:/BlueWest/bitBucketFolder/ai-connect-pro/Images/Ai-connect-+-gpt.png + C:/Users/tdesc/Pictures/gpt.png + No + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + 203 + +
+ + + Folder + folder + - + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 560 + 304 + + + + + + ProblemFilesFolder + producer + Filter + One + Problem jobs + + This flow only + Default + 10 + 10 + 80 + 224 + + + + + + Folder + folder + - + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 368 + 304 + + + + + + Enfocus~PitStop Server + processor + TrafficLight + Enfocus PitStop Server + + 272 + 304 + + 0 + Default + Yes + Unlimited + No + 100 + 1200 + 300 + No + No + Yes + Yes + Current + + Yes + No + JPEGMedium + JPEGMedium + CCITTGroup3 + None + Yes + No + Yes + Resolution + 72 + Automatic + Automatic + + F:/Enfocus Switch Dataroot/PropertySets/28/PDFprofile_304679277.xml + + + + + Save as uncertified + Yes + No + No + + + + + + + + + + + + No + Yes + Generic Enfocus Gray + Adobe RGB (1998) + ISO Coated v2 (ECI) + Generic Enfocus Lab + No + No + Generic Enfocus Gray + Adobe RGB (1998) + ISO Coated v2 (ECI) + Generic Enfocus Lab + No + Object defined + Same as images + Generic Enfocus Gray + Adobe RGB (1998) + ISO Coated v2 (ECI) + Generic Enfocus Lab + No + No + Generic Enfocus Gray + Adobe RGB (1998) + ISO Coated v2 (ECI) + Generic Enfocus Lab + No + Object defined + No + Yes + + No + No + File size only + XML + + Yes + + v3 + Default + Default + v3 + Default + Default + English + Millimeters + + Yes + + + + + TrafficLight + + + 0 + 86 + 39 + Gray + Data with log + Log + No + Yes + Yes + Yes + + + + + Folder + folder + - + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 176 + 304 + + + + + + Filter + + + 0 + 93 + 86 + Gray + No + All Files + No Files + + + + + Filter + + + 0 + 39 + 174 + Gray + No + All Files + No Files + + + + + SubmitPoint + producer + Filter + Unlimited + Preflight report to HTML + + #automanaged# + Default + <p>This Submit point shows how AI connect Pro can be used to process:</p> + <ul> + <li><strong>Metadata</strong> containing print production information</li> + <li>A <strong>PitStop preflight report</strong> summarizing the PDF check</li> + </ul> + + <div class="highlight"> + The flow parses both information and automatically generates a <strong>clean HTML summary</strong> for non-technical customers. + </div> + <ul> + <li>Key production details submitted in this form (could be replaced by MiS metadata)</li> + <li>PDF preflight status</li> + <li>Clear explanations of any issues (missing fonts, low-res images, color spaces, bleed errors)</li> + <li>Simple, readable layout suitable for email communication</li> + </ul> + + <h2>How It Works</h2> + <p> + The user drops a file and fill metadata into the Submit Point. The flow extracts relevant data and feeds it into a prompt designed to create a user-friendly HTML summary. + </p> + <p> + The prompt ensures the output is written in simple language and well-formatted for customer communication. + </p> + + <h2>Prompt Logic</h2> + <p> + The prompt is crafted to: + </p> + <ul> + <li>Understand XML structure to extract print specs</li> + <li>Read the PitStop report and identify key issues</li> + <li>Translate technical jargon into simple terms</li> + <li>Format the response as an HTML-only output</li> + </ul> + + <p><strong>Use this demo as a foundation for real-world automation in customer-facing print workflows.</strong></p> + </div> + + + No + No + No + No + + Job and metadata + Files only + <ValueDescription Type="stringlist"> + <Value>pdf</Value> +</ValueDescription> + + + Smith incorporated + John + Smith + john@doe.com + 202501234 + Business card + 10000 + English + + +]]> + Submit + Yes + + No + 80 + 304 + + SwitchClient + + + + + Filter + + + 90 + 119 + 93 + Gray + No + All Files + No Files + + + + + MailSend + processor + TrafficLight + Yes + Unlimited + Mail send is a consumer that sends an email message to an SMTP email +relay server for each incoming file or job folder. Some properties for +this tool are set up as a global user preference since these values are +always the same for all outgoing email. + Communication + 0400000000 + Internet web email e-mail POP3 IMAP network communication transfer output + Mail send + + + [Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Email adress']/value"][Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Email address']/value"] + No + + + Default + + + Default + Default + Default + HTML + Fixed file + [Metadata.Text:Dataset="AIconnect",Model="JSON",Path="/0/message/content"] + No + E:/BlueWest/bitBucketFolder/ai-connect-pro/Demo/1 - Preflight report to HTML/1_prelfight_output_email.html + Body + No + Yes + 656 + 304 + + + + + + Folder + folder + Pitstop Report + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 368 + 224 + + + + + + TrafficLight + + + -90 + 86 + 146 + Gray + Log + Log + No + Yes + Yes + Yes + + + + + Folder + folder + GPT response + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 560 + 224 + + + + + + Folder + folder + Set your API key + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + Magenta + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 464 + 384 + + + + + + Folder + folder + Select your favorite preflight + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + Magenta + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 272 + 384 + + + + + + Filter + + + 0 + 162 + 86 + Gray + No + All Files + No Files + + + + + Filter + + + 0 + 2 + 121 + Gray + No + All Files + No Files + + + + + ai-connect-pro + processor + TrafficLight + AI connect_PRO + + 464 + 304 + + Default + Default + Yes + Unlimited + OpenAI + + Text completion + dall-e-2 + Vivid + Standard + 256x256 + 1024x1024 + a photo of a happy corgi puppy sitting and facing forward, studio light, longshot + 1 + gpt-4o + You are an expert assistant from MyPrintingCompany.com a printing company, helping with customer communication. You will receive two input files: +- An XML file that contains all information about a printed product (e.g., paper type, size, deadlines, invoice/bill info, contact details). +- A Pitstop preflight report file that details the technical results of the PDF preflight check. + +Your task is to: +- Read and understand the relevant data from both files. +- Generate an HTML email body only (no subject, no headers). + +Instruction for the HTML content : +- Translate it in [Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Language']/value"] +- Add at the top a greeting to the customer (refer to the XML file for contact) +- Follow with a reminder of the order name and a summary block (in a table format) showing key production details from the XML. +- Summarize the preflight report using clear, non-technical language intended for someone not used to printer related terminlogy. + - Errors are critical and mean the file is not suitable for print — highlight these in red. + - Warnings are advisory and up to the customer to accept — highlight these in orange. + - If there are no errors or warnings, briefly confirm the file is ready for print. + +Display the preflight results in a table format, listing: + - Type (Error or Warning) + - Description ( + - Page number (if available) + - Include helpful suggestions for resolving issue + +- Add a button with the review link that should lead the customer to this web page : https://www.enfocus.com/en/review + +- Below the button, add a short message telling the customer to click the button to make an approval decision. + + +Formatting : +- Output the body of the HTML only, as a single line (no line breaks, no \n or \r). +- Do not escape characters. +- Use single quotes (') instead of double quotes ("). +- Do not include any plain text explanation or mardown element — only the final body HTML output. + + 0.5 + + + 1.0 + alloy + mp3 + Current + + + + en + 0 + json + http://localhost:7869/ + Text completion + Tell + gemma:2b + 0 + + Text completion + + + 0 + store_name=The name of the store or merchant transaction_date=Date and time of the purchase total_amount:number=Total amount paid including tax tax_amount?:number=Tax amount applied (if shown) payment_method=Method of payment (e.g., Visa, cash) address?:string=Store address if available + Yes + No + Submit +Log + No + + json + No + + + + + TrafficLight + + + -90 + 174 + 148 + Gray + Log + Log + No + Yes + Yes + Yes + + + + + TrafficLight + + + 0 + 174 + 2 + Gray + Data with log + AIconnect + No + Yes + Yes + No + + + + + Filter + + + 0 + 156 + 174 + Gray + No + All Files + No Files + + +