<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007D9frDCAROkta Identity EngineWorkflowsAnswered2025-12-10T09:00:20.000Z2021-09-29T03:31:16.000Z2021-10-02T09:04:02.000Z

noi4t (noi4t) asked a question.

Workflows - Download email attachments to Google Drive

Trying to use workflows to download attachments from new emails to Google Drive but getting stuck on the download part using custom API call.

 

Parent: New Email > Read Email > For Each (attachments)

Child: Compose API String > Gmail custom API

 

API String: GET https://gmail.googleapis.com/gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}

 

All very new to this and not sure where to go to next.

 

Thanks in advance

 

 

 

 


  • isthatDinu (Okta, Inc.)

    Hi Phillip,

     

    This is Marius with Okta support. I would suggest reaching out to Google support first to gather all the info needed for calling their API to download attachments so you can construct the custom API card on the Workflows side. After doing so, if you're still having issues with putting the flow together, please go ahead and open up a support ticket with us so we can assist further.

     

    Thank you,

    Marius Dinu

    Okta T2 TSE

     

     

    Expand Post
This question is closed.
Loading
Workflows - Download email attachments to Google Drive