---
agentTools:
  projectIndex: https://help.logichub.com/llms.txt
---

# Simulate File

Version: 2.0.0

Injects a dummy file to help testing / developing file-based integrations.

# Connect Simulate File with LogicHub

1. Navigate to **Automations** > **Integrations**.
2. Search for **Simulate File**.
3. Click **Details**, then the **+** icon. Enter the required information in the following fields.
   * **Label**: Enter a connection name.
   * **Reference Values**: Define variables here to templatize integration connections and actions. For example, you can use <https://www.{{hostname}}.com> where, hostname is a variable defined in this input. For more information on how to add data, see ['Add Data' Input Type for Integrations](add-an-integration-connection#add-data-input-type-for-integrations).
   * **Verify SSL**: Select option to verify connecting server's SSL certificate (Default is Verify SSL Certificate).
   * **Remote Agent**: Run this integration using the LogicHub Remote Agent.
4. After you've entered all the details, click **Connect**.

# Actions for Simulate File

## Create Random File

Creates a random file.

### Input Field

Choose a connection that you have previously created to complete the connection.

## Load DOCX Sample

Loads a DOCX sample.

### Input Field

Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.

[block:parameters]
{
  "data": {
    "h-0": "Input Name",
    "h-1": "Description",
    "h-2": "Required",
    "0-0": "Docx Sample",
    "0-1": "Select a DOCX sample.",
    "0-2": "Required"
  },
  "cols": 3,
  "rows": 1
}
[/block]

## Load EML Sample

Loads an EML sample.

### Input Field

Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.

[block:parameters]
{
  "data": {
    "h-0": "Input Name",
    "h-1": "Description",
    "h-2": "Required",
    "0-0": "EML Sample",
    "0-1": "Select an EML sample.",
    "0-2": "Required"
  },
  "cols": 3,
  "rows": 1
}
[/block]

## Load MSG Sample

Loads an MSG sample.

### Input Field

Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.

[block:parameters]
{
  "data": {
    "h-0": "Input Name",
    "h-1": "Description",
    "h-2": "Required",
    "0-0": "MSG Sample",
    "0-1": "Select an MSG sample.",
    "0-2": "Required"
  },
  "cols": 3,
  "rows": 1
}
[/block]

## Load Image Sample

Loads an image sample.

### Input Field

Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.

[block:parameters]
{
  "data": {
    "h-0": "Input Name",
    "h-1": "Description",
    "h-2": "Required",
    "0-0": "Type of Image",
    "0-1": "Type of image file.",
    "0-2": "Required"
  },
  "cols": 3,
  "rows": 1
}
[/block]

# Release Notes

* `v2.0.0` - Updated architecture to support IO via filesystem
* `v1.0.8` - Added documentation link in the automation library.