<aside> <img src="/icons/info-alternate_green.svg" alt="/icons/info-alternate_green.svg" width="40px" /> Input Axons are the starting point for any Neuron. They are responsible for bringing data into the Neuron for processing. Whether it’s files, emails, or data from external systems, Input Axons help you pull in the necessary information to start automating workflows.

</aside>

Uploader Axon

The Uploader Axon enables you to upload and extract text from various document formats to process in the Neuron. It supports a wide range of file types, including:

PDF

Word (DOCX)

Excel (XLSX)

PowerPoint (PPTX)

HTML

Images: JPG/JPEG, PNG, BMP, TIFF, HEIF

You can also upload entire folders containing these files for batch processing. This axon is ideal for handling multiple documents at once and extracting text for further use in the Neuron workflow.

API Axon

The API Axon provides an endpoint that allows you to integrate 913.ai’s powerful automation capabilities directly into your system. With the API Axon, you can programmatically send files or data to a Neuron for processing.

Key Features:

Endpoint Access: Each Neuron has a unique API endpoint, which you can use to send files or data for processing.

Supported File Types: PDF, JPEG/JPG, PNG, BMP, TIFF, HEIF, DOCX, XLSX, PPTX, HTML.

API Key: To authenticate and securely send data, you will need an API key which you can get by clicking Developers button in the Navbar.

Making a Request:

To run the Neuron, make a POST request to the API endpoint, attaching the files you want to process.

import requests

# Your API Key
API_KEY = 'your_api_key'

# Prepare the headers with your API Key
headers = {
    'api-key': API_KEY,
}

# The files to be processed
files = {
    'files': open('/path/to/your/file1', 'rb'),
    'files': open('/path/to/your/file2', 'rb'),
}

# Your Pipeline API Endpoint
api_endpoint = '[Your_Pipeline_API_Endpoint]'

# Make the POST request
response = requests.post(api_endpoint, headers=headers, files=files)

# Handle the response
if response.status_code == 200:
    print("Pipeline run successfully initiated.")
else:
    print(f"Error: {response.text}")
const FormData = require('form-data');
const axios = require('axios');
const fs = require('fs');

const API_KEY = 'your_api_key';
const api_endpoint = '[Your_Pipeline_API_Endpoint]';

const form = new FormData();
form.append('files', fs.createReadStream('/path/to/your/file1'));
form.append('files', fs.createReadStream('/path/to/your/file2'));

axios.post(api_endpoint, form, {
  headers: {
    ...form.getHeaders(),
    'api-key': API_KEY,
  },
})
.then((response) => {
  console.log(response.data);
})
.catch((error) => {
  console.error(error.response.data);
});
curl -X POST [Your_Pipeline_API_Endpoint] \\
-H "api-key: [Your_API_Key]" \\
-F 'files=@/path/to/your/file1' \\
-F 'files=@/path/to/your/file2'

<aside> <img src="/icons/info-alternate_green.svg" alt="/icons/info-alternate_green.svg" width="40px" /> In the next release, you’ll also be able to send any kind of data (not just files) through the API Axon.

</aside>

SharePoint Input Connector

The SharePoint Input Connector allows you to seamlessly integrate with your SharePoint document center, enabling the Neuron to monitor and process files stored in SharePoint.

Key Features:

Folder Structure Preservation: This axon maintains the folder structure from SharePoint, ensuring that your files stay organized as they are processed.

Automated Processing: Automatically processes files that are uploaded or updated in your SharePoint folders, saving time on manual tasks.

This axon is perfect for organizations that rely heavily on SharePoint for document management and need to automate their workflows directly from their document center.

Gmail Reader Axon