GDoc Creation - Help

I am attempting to create a flow to support short article summaries

At this stage all aspects are working except the create a GDoc..

The error is

object {3}
replies [1]
0 {0}
(empty object)
writeControl {1}
requiredRevisionId : ALBJ4Lt6mpRdfSwY- … (long convoluted number)

documentId : 1zBLtUM3EeM_Q (long convoluted number)


I’ve tested, disconnected, tried to review what’s online and still can’t get my head around it.

I am open to marketplace assistance with this to perhaps make this much better than it is as well..

Thanks
Dave

That output may not be an error at all. An object with replies, writeControl.requiredRevisionId and documentId is exactly what the Google Docs API returns after a successful batchUpdate, which is what the step that writes text into a document calls. An empty entry in replies just means the request (inserting text, for example) had nothing to report back.

So check two things. First, open the document with that documentId in Google Docs; the text is probably there, just not where you expected, for example in My Drive instead of your target folder. Second, if a later step treats this output as a failure, map the documentId field rather than the whole object.

If the document really is empty, the usual cause is a create step followed by a write step that points at a different document id, so map the id from the create step’s output into the write step instead of pasting one by hand.

(Disclosure: I’m connected to thirds.ai.)