The Adobe Workfront Fusion Google Docs modules enable you to monitor, create, edit and retrieve documents in your Google Docs and Google Docs (for G Suite users).
In order to use Google Docs with Adobe Workfront Fusion, it is necessary to have a Google account. If you don’t have a Google account yet, you can create one at the Google Account help page.
To use Google Docs modules, you must have a Google account.
Google Docs modules and their fields
When you configure Google Docs modules, Workfront Fusion displays the fields listed below. Along with these, additional Google Docs fields might display, depending on factors such as your access level in the app or service. A bolded title in a module indicates a required field.
Select whether you want to watch created (By Created Date) or modified (By Modified Date) documents.
Choose a Drive
Select the type of drive you want to monitor.
My Drive
Select the folder you want to watch for created or modified documents.
Shared With Me
Select the folder you want to watch for created or modified documents.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive you want to watch.
Note: If you have selected the Google Shared Drive option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Limit
Set the maximum number of documents Workfront Fusion returns in one execution cycle.
List Documents
This action module retrieves a list of documents from the selected folder.
Select the type of drive you want to list documents from.
My Drive
Select the folder you want to list documents from.
Shared With Me
Select the folder you want to list documents from.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive you want to list documents from.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Limit
Set the maximum number of documents Workfront Fusion returns in one execution cycle.
Get Content of a Document
This action module retrieves a specified document.
Select whether you want to map the document ID of the document or select the document from the drop-down menu manually.
Choose a Drive
Select the type of drive that contains the document you want to retrieve.
My Drive
Select the folder that contains the document you want to retrieve.
Shared With Me
Select the folder that contains the document you want to retrieve.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive that contains the document you want to retrieve.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Filter
Select the object you want to be returned in the module's output.
Image (default)
Drawing
Chart
Note:
For further mapping of these objects, please use the Inline Objects Array value in this module's output (instead of inlineObjects).
The Inline Objects Array objects are sorted in the same order they appear in the document. It will make any further processing easier.
Create a Document
This action module allows you to create a new document in the selected folder.
Enter the content of the document. HTML is supported.
Choose a Drive
Select the type of drive where you want to create a document.
My Drive
Select the folder where you want to create a document.
Shared With Me
Select the folder where you want to create a document.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where you want to create a document.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Insert a Header
Enable this option to insert the header to the document, then enter or map the text of the header.
Insert a Footer
Enable this option to insert the footer to the document, then enter or map the text of the header.
Create a Document From a Template
This action module creates a copy of an existing template document and replaces any tags. This module also allows users to replace images with new images by URL.
By Mapping Select this option to map the document template.
By Dropdown Select this option to choose the document template from the drop-down menu.
Choose a Drive
Select the type of drive where your template is located. This option is available if you selected By Dropdown in the previous field.
My Drive
Select the folder where your template is located.
Shared With Me
Select the folder where your template is located.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where your template is located.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Values
Enter the values that will be entered instead of the variables to the new document.
Tags Enter the tags that are contained in the document template. Do not use {{}}. Example: use name instead of {{name}}.
Replaced Value Enter the value of the tag.
For example the {{name}} variable in the source document will be displayed as the name field here, where the value can be inserted, such as John.
Images Replacement
Enter the link to the Image Object ID and Image URL that will replace the current image.
Note: You can retrieve the image IDs by using Get a Document module, where the IDs are contained in the array Inline Object Array.
We recommend that you add ALT text to images in your Google document.
To add an ALT Text to the Google Docs image:
Right click on the image.
Select the ALT text option.
Enter the ALT text in the Title field and click OK.
After the ALT text is added to the image, the ALT text is displayed in the field name in parentheses.
Title
Enter the name for the new document.
Choose a Drive
Select the type of drive where your template is located. This option is available if you selected By Dropdown in the previous field.
My Drive
Select the folder where you want the document to be created.
Shared With Me
Select the folder where you want the document to be created.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where you want the document to be created.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Insert a Paragraph to a Document
This action module appends or inserts a new paragraph to an existing document.
By Mapping Select this option to map the document.
By Dropdown Select this option to choose the document from the drop-down menu.
Choose a Drive
Select the type of drive where the document you want to add a paragraph to is located. This option is available if you selected By Dropdown in the previous field.
My Drive
Select the folder where the document you want to add a paragraph to is located, then select the document.
Shared With Me
Select the folder where the document you want to add a paragraph to is located, then select the document.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where the document you want to add a paragraph to is located, then select the document.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Insert a Paragraph
Select how you want the new text to be inserted in the document.
By specification of location
By index
Index
Enter the Index number where you would like to insert your text. You can use the Get a Document module retrieve Index number.
To display all characters (including hidden) in the document, you can use the Show add-on. You can find the add-on under Add-ons > Get add-ons. Search for Show and install the Show add-on.
Inserted text
Enter the text you want to insert to the document.
By segment ID
Select the header and footer you want to insert the text content to and enter the text you want to insert to the corresponding fields.
If the header or footer already contains text, the new text will be added before the existing text.
By appending to the body of the document
Appends entered text at the end of the document's body content.
The style of the new paragraph will be copied from the paragraph at the current insertion index, including lists and bullets.
By appending to the end of segment (Header and Footer)
Select the header and footer you want to insert the text content to and enter the text you want to insert to the corresponding fields.
If the header or footer already contain text, the new text will be added after the existing text.
Appended Text
Enter or map the text you want to append to the document
Insert an Image to a Document
This action module inserts an image from the URL to the document.
By Mapping Select this option to map the document template.
By Dropdown Select this option to choose the document from the drop-down menu.
Choose a Drive
Select the type of drive where the document you want to add an image to is located. This option is available if you selected By Dropdown in the previous field.
My Drive
Select the folder where the document you want to add an image to is located, then select the document.
Shared With Me
Select the folder where the document you want to add an image to is located, then select the document.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where the document you want to add an image to is located, then select the document.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Insert an Image
Select how you want the new image to be inserted in the document.
By specification of location
By index
Index
Enter the Index number where you would like to insert your image. You can use the Get a Document module retrieve Index number.
To display all characters (including hidden) in the document, you can use the Show add-on. You can find the add-on under Add-ons > Get add-ons. Search for Show and install the Show add-on.
Image URL
Enter the URL of the image you want to insert to the document.
The maximum image size is 50 MB. Must not exceed 25 megapixels. Only PNG, JPEG or GIF format is supported.
By segment ID
Select the header and footer you want to insert the image to and enter the image URL to the corresponding fields.
The maximum image size is 50 MB. The image must not exceed 25 megapixels. Only PNG, JPEG, or GIF format is supported.
By appending to the body of the document
Appends a specific image at the end of the document's body content.
By appending to the end of segment (Header and Footer)
Select the header and footer you want to insert an image to and enter the image URL you want to insert to the corresponding fields.
Height Magnitude in Points/Width Magnitude in Points
Define the size of the inserted image. The aspect ratio will be kept.
Replace an Image with a New Image
This action module replaces an existing image. The aspect ratio of the original image will be maintained.
By Mapping Select this option to map the document template.
By Dropdown Select this option to choose the document from the drop-down menu.
Choose a Drive
Select the type of drive where the document you want to replace an image is located. This option is available if you selected By Dropdown in the previous field.
My Drive
Select the folder where the document you want to replace an image is located, then select the document.
Shared With Me
Select the folder where the document you want to replace an image is located, then select the document.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where the document you want to replace an image is located, then select the document.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Image URL
Enter or map the URL of the new image that will replace the existing image.
Images are listed in the order they appear in the document. For example, Body: Image No. 1 is the first image in the document.
By Mapping Select this option to map the document template.
By Dropdown Select this option to choose the document from the drop-down menu.
Choose a Drive
Select the type of drive where the document you want to add text to is located. This option is available if you selected By Dropdown in the previous field.
My Drive
Select the folder where the document you want to add text to is located, then select the document.
Shared With Me
Select the folder where the document you want to add text to is located, then select the document.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where the document you want to add text to is located, then select the document.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Replace a Text
Add each text that you want to replace.
Old text to be replaced
Enter the text you want to replace.
New text to be inserted
Enter the new text.
Download a Document
This action module converts and downloads the selected document.
Select the type of drive where the document you want to download is located.
My Drive
Select the folder where the document you want to download is located, then select the document.
Shared With Me
Select the folder where the document you want to download is located, then select the document.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where the document you want to download is located, then select the document.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Type
Select the target file format of the downloaded document.
Select the type of drive where the document you want to delete is located.
My Drive
Select the folder where the document you want to delete is located, then select the document.
Shared With Me
Select the folder where the document you want to delete is located, then select the document.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where the document you want to delete is located, then select the document.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Shared Drive
Select the drive that contains the document you want to download, then select a document. This option is available if you have selected Google Docs in the Choose a Drive field.
Document ID
Select or map the document you want to replace one or more images in.
Add the headers of the request in the form of a standard JSON object.For example, {"Content-type":"application/json"}. Workfront Fusion adds the authorization headers for you.
Query String
Enter the request query string.
Body
Add the body content for the API call in the form of a standard JSON object.
Note:
When using conditional statements such as if in your JSON, put the quotation marks outside of the conditional statement.
Example: The following API call retrieves the details for the specified document in your Google Docs:
By Mapping Select this option to map the document template.
By Dropdown Select this option to choose the document from the drop-down menu.
Choose a Drive
Select the type of drive where the document you want to make links clickable in is located. This option is available if you selected By Dropdown in the previous field.
My Drive
Select the folder where the document you want to make links clickable in is located, then select the document.
Shared With Me
Select the folder where the document you want to make links clickable in is located, then select the document.
Google Shared Drive (available for G Suite users only)
Select whether you want to Use Domain Admin Access. Selecting Yes issues the request as a domain administrator, and all shared drives in which the requester is an administrator are returned.
Select the shared drive where the document you want to make links clickable in is located, then select the document.
Note: If you have selected the Google Docs option in this field and you are not a G Suite user, the error [400] Invalid Value is returned.
Shared Drive
Select the drive that contains the document you want to update links in, then select a document. This option is available if you have selected Google Docs in the Choose a Drive field.
Document ID
Select or map the document you want to update the links in.