<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
How to Create a Text File in Workflows
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

This guide provides instructions on creating, saving, and downloading a text file in Okta Workflows using Google Docs and Google Drive connectors.

Applies To
  • Okta Workflows
Solution

The following flow shows how to create a text file:

Create and download a text file

Create and download a text file.


The steps in the flow:

  1. The Compose card creates a text.
  2. The Google Docs – Create Document creates a document with a name in Google Drive. It returns the document ID.
  3. The Google Docs – Update Document card inserts text into a Google Docs document with the ID from the previous step.
    • Set the Operation Type to Insert Text in Options.
      Google Docs – Update Document card   
  4. Download the file using Google Drive – Download File card with the document ID from step 2.

Running the flow:

Create and download a text file flow execution 
Create and download a text file flow execution.


The flow creates the following document:

Google Docs created from Okta Workflows

Google Docs created from Okta Workflows.


NOTE: Rerunning the flow will create a file with a different ID and the same Workflows Text File name.

Loading
How to Create a Text File in Workflows