Replaces images in a Google docs document that match a specified image alt text title with a new image. The source of the new image can be linked or an existing image within the Wrkflow data library.
Common use cases
Data Manipulation
Client Reporting
Data Manipulation
Data Management
Content management
Engagement & Communication Management
Category:
Google Docs
Inputs (what you have)
NAME | DESCRIPTION | TYPE | REQUIRED | EXAMPLE |
Document link | The link for the Google Docs Document | URL | Yes |
|
Alt text title | The alt text for locating the image to be replaced
| Text | Yes | Image-1 |
Source of the new image | The location type where the image used in the replace will be sourced from | Predefined Choice List | Yes | Web |
New image link | The link to the new image to use in the replace. If the link is to a file on Google Drive ensure 'Google Drive' is selected for 'Location of the new image' | URL | No |
|
New image file name | Name of the image file from the data library to be used in the replace | Text | No | logo.png |
Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data Library. These variables in the Data Library are the outputs of previous Wrk Actions in the Wrkflow.
Outputs (what you get)
N/A
Outcomes
NAME | DESCRIPTION |
Success | This status is selected if the image was successfully replaced in Google Docs |
No Result | This status is selected in the event of the following scenarios: - The alt text provided could not locate any images and no images were replaced |
Unsuccessful | This status is selected in the event of the following scenarios: - Fail to login to account - Application site is down - Document cannot be modified - The new image was not provided - Google Docs link does not exist |
Requirements
All Drives, Files and Docs need to be shared with:
googlewrkbots@wrk.com
All Images must meet the following specifications:
Images must be less than 50MB in size
Images must be in one of the following formats: PNG, JPEG, or GIF
The image being replaced in the Google Doc must have the Position setting "Move with text" selected to complete the replace