Hello! I am working on populating a Word document using the AI Builder prompt for document generation. I have read the documentation, watched YouTube videos (April Dunham, Mathew Devaney, and Damien Bird) and I'm getting errors that I don't understand.
After uploading the Word document and writing out the prompt, with all fields to populate, I test it. More often than not, the test fails with this error (or one similar to it)- see below. This did work a couple of times but now it's not working at all. I haven't changed anything between attempts.
I know this functionality is still in Preview, so maybe that's why performance isn't consistent, but I would appreciate hearing from others who have successfully used this.
Word document:
The Word document that I want to populate is 16 pages long (it is well within the file size limitations). The document uses headers, subheaders, and tables. The placeholder fields are found throughout the entire document. Several placeholders (ex: {{ClientName}} ) are found multiple times throughout the doc. I have used double curly brackets, as recommended in the MS documentation, and I've also removed spacing between words.
After uploading the document, the fields are recognized-- the list of all placeholders do show up on the right side of the screen.
Errors:
When I try to test it, I often get this error:
An error occurred while replacing output document placeholders.
- If I re-upload the document and re-test it, it works.
After testing it, I try to save it and often get error:
Something went wrong while saving your custom prompt. Try again later.
*I can only show the first couple of fields. All others are structured in the exact same way.
Question: Are these issues because it's still in Preview? or am I doing something wrong?