You can use services like Cloud convert or convertapi but you need to add a delay to let time to load the RG before starting to create the PDF.

1 Like