Native Action - Write File
The Write File action is designed for mobile applications, enabling users to create and store files directly on Android and iOS devices. It is commonly used for scenarios like saving logs, exporting data, or generating reports that users can access locally on their devices.
Navigate to
Native
in your action flow and select theWrite File
task.Configure the file properties such as name, content, and location using the available options.
Configuration Overview
Configuration Field | Description |
---|---|
File Name | The name of the file to be created. You can specify it dynamically using keywords. |
File Content | The content to be written into the file. Supports both static text and dynamic inputs. |
Append Data | Determines whether to append new data to an existing file (true ) or overwrite it (false ). |
Content Type | Specifies the type of file to create, such as text/plain or application/json . |
Path for Android | The directory on Android where the file will be stored. Use system-defined paths. |
Path for iOS | The directory on iOS where the file will be stored. Similar to Android paths. |
After configuring the Write File action, the app will create the specified file in the selected directory. Users can access and use this file for various purposes, such as viewing logs or exporting data.