There is an action to export the embedded pictures to the file system:
Please check also the documentation on how to create an action: