Code.gs
file with the following code instead:
Constants
. The .gs
extension is added automatically.
Constants.gs
file with the following code instead:
<folder-id>
with the ID of your Google Drive shared folder or shared drive. This is the same ID that you specified
when you created your Google Drive source connector in your Unstructured account.<unstructured-api-url>
with your Unstructured API URL value.<workflow-id>
with the ID of your Unstructured workflow.<unstructured-api-key>
with your Unstructured API key value.checkForNewOrUpdatedFiles
.
5
in the following
line of code in the checkForNewOrUpdatedFiles
function. Change the number 5
to the number of minutes that correspond to the alternate interval you
selected: