Last Updated: Mar 15, 2021
Use this function to replaces an old text with new text in the Google Doc.
Replace Text (document_id, old_text, new_text, private_key, client_email)
Input Parameter Name | Description |
---|---|
document_id | Name of the document |
old_text | Text to be replaced |
new_text | New text to be updated |
private_key | Private key of the service account |
client_email | Email ID of the service account |
Return Value | Description |
---|---|
Output |
|
Replace Text (XYZ123, Travel, Commute, —–BEGIN PRIVATE KEY—–\nABCD\n—–END PRIVATE KEY—–, name@project-id.iam.gserviceaccount.com)
To view all the Google Docs functions, click here.