InFlow Inventory Integration with SmythOS
Want to automate your inventory and order management? Connect InFlow Inventory to SmythOS and empower your agents to manage products, track stock, and sync customer data automatically.
List of InFlow Inventory Components
Quickly compare InFlow Inventory components by what they do and their key I/O. Click any component name to jump directly to its detailed guide.
Component | Action | What it Does | Inputs | Key Outputs | Use Case |
---|---|---|---|---|---|
Add Product to Inventory | Write | Creates a new product record in your inventory. | required companyId , productID , product_name , sku | productId | Automatically adding a new item from a supplier's catalog. |
Get Product List | Read | Retrieves a list of all products from your inventory. | required companyId | products | Performing a full catalog audit or syncing with a website. |
Get Product Details | Search | Searches for products using a query against various fields. | required companyId , search_details | productId , name | Finding a specific product's ID by its SKU or name. |
Get Customer List | Read | Retrieves a list of all customers. | required companyId | customers | Syncing your customer list to a separate CRM or marketing tool. |
Get Customer Detail | Search | Searches for a specific customer by name. | required companyId , name | customerId , email | Finding a customer's ID to associate with a sales order. |
Get Category List | Read | Retrieves the list of all product categories. | required companyId | categories | Getting the correct category ID before creating a new product. |
Prerequisites
Before you begin, please ensure you have the following:
- An active SmythOS account. (Sign up here).
- An InFlow Inventory account.
- Your InFlow Inventory API Key.
- Your InFlow Company ID.
Getting Started With InFlow Inventory
The connection between SmythOS and InFlow Inventory is configured using a secure API Key.
Step 1: Get Your InFlow Inventory API Key
- Log in to your InFlow Inventory account.
- Navigate to the Settings or API section within your account dashboard to find or generate your API key. This process may vary depending on your InFlow version (Cloud or On-premise).
- You will also need your Company ID, which is often found in your account or company profile settings.
- Copy the API Key to your clipboard.
Step 2: Store Your API Key in SmythOS Vault
Your API Key is a sensitive credential. Use the SmythOS Vault
to store it securely.
- In your SmythOS dashboard, navigate to the Vault.
- Create a new secret and paste your InFlow Inventory API Key as the value. Give it a memorable name, like
inflow_api_key
. - For more details, see the Vault Documentation.
Step 3: Configure an InFlow Inventory Component
- In your SmythOS agent graph, drag and drop any InFlow Inventory component.
- Click the component to open its Settings panel.
- In the
API Key
field, select the secret you saved in the Vault (e.g.,inflow_api_key
). - Your connection is now configured for that component. You will provide the
companyId
as a standard input.
Which InFlow Inventory Component Should I Use?
If you need to… | Target | Use this Component | Why this one? |
---|---|---|---|
Add a new item to your inventory system | Product data | Add Product to Inventory | The standard method for creating a new product record from scratch. |
Get a list of all your products | Your entire catalog | Get Product List | Retrieves your full product list, ideal for audits or syncing data. |
Find a product when you know its name or SKU | A search term | Get Product Details | The best way to find a specific product's ID and other information. |
Get a list of all your customers | Your customer database | Get Customer List | Retrieves all customer records. |
Find the ID for a specific customer | A customer name | Get Customer Detail | Searches for a specific customer to get their unique ID for other operations. |
Find the correct category ID for a new product | Your category structure | Get Category List | A necessary first step to ensure products are categorized correctly upon creation. |
Component Details
This section provides detailed information for each InFlow Inventory component.
Add Product to Inventory
Creates a new product record in your InFlow Inventory.
Inputs
Field | Type | Required | Notes |
---|---|---|---|
companyId | string | Yes | The unique identifier of your company. |
productID | string | Yes | Your internal unique identifier for the new product. |
product_name | string | Yes | The name of the new product. |
sku | string | Yes | The Stock Keeping Unit for the new product. |
itemType | string | Yes | The type of item (e.g., 'Inventory', 'Service'). |
originCountry | string | Optional | The product's country of origin. |
Outputs
Field | Type | Description |
---|---|---|
productId | string | The unique identifier assigned by InFlow to the newly added product. |
Response | object | The full, raw JSON response from the InFlow Inventory API. |
Headers | object | The HTTP headers from the API response. |
Get Product List
Retrieves a list of all products from your inventory.
Inputs
Field | Type | Required | Notes |
---|---|---|---|
companyId | string | Yes | The unique identifier of your company. |
Outputs
Field | Type | Description |
---|---|---|
products | array | An array of product objects retrieved from your inventory. |
Response | object | The raw JSON response from the API. |
Get Product Details
Searches for specific products using a full-text search query.
Inputs
Field | Type | Required | Notes |
---|---|---|---|
companyId | string | Yes | The unique identifier of your company. |
search_details | string | Yes | The search term (e.g., a product name, SKU, or description). |
Outputs
Field | Type | Description |
---|---|---|
productId | string | The ID of the first matching product found. |
name | string | The name of the first matching product. |
categoryId | string | The category ID of the first matching product. |
Response | object | The raw JSON response, which may contain multiple matching products. |
Customer Management
Includes Get Customer List and Get Customer Detail. These components allow you to retrieve and search for customer records.
Common Inputs
Field | Type | Required | Notes |
---|---|---|---|
companyId | string | Yes | The unique identifier of your company. |
name | string | (For Get Detail) Yes | The name of the customer to search for. |
Outputs
Field | Type | Description |
---|---|---|
customers | array | (List) An array of customer objects. |
customerId | string | (Get Detail) The unique ID of the matching customer. |
email | string | (Get Detail) The email of the matching customer. |
Best Practices & Advanced Tips
- Secure Your API Key: Always store your InFlow Inventory API key in the SmythOS
Vault
. - Understand the Data Hierarchy: To manage inventory effectively, you need the correct IDs. A common workflow is to first use a
Get
orList
component to find theproductId
orcustomerId
before attempting to update a record. - Use for Synchronization: This integration is ideal for creating a single source of truth for your inventory. Build agents that sync data between InFlow and your other platforms (e-commerce, accounting, CRM) to ensure consistency.
- Error Handling: When adding a product, check for errors related to duplicate SKUs. Your agent should be able to handle these cases gracefully, perhaps by switching to an "update" logic instead of "create".
Troubleshooting Common Issues
-
Error:
401 Unauthorized
- Cause: The API Key is incorrect, has been disabled, or is missing.
- Solution: Verify that the API Key in your SmythOS Vault is correct and matches the one in your InFlow Inventory account settings.
-
Error:
404 Not Found
- Cause: An incorrect
companyId
,productId
, or other identifier was provided. - Solution: Double-check all IDs for typos. Ensure the resource you are trying to access exists within your InFlow account.
- Cause: An incorrect
-
No Results Found in Search
- Cause: The
search_details
query may not have any matches, or the term might be too specific. - Solution: Try a broader search term to confirm the connection is working. Check for typos in your query.
- Cause: The
What's Next?
You are now ready to build powerful inventory management automations with the SmythOS InFlow Inventory Integration!
Consider these ideas:
-
Build an Agent That...
- Acts as a full product lifecycle manager. When a new product is added to a Google Sheet, the agent creates it in InFlow, then creates a corresponding product page on a Shopify or Squarespace store.
- Manages stock levels. It connects to your e-commerce store's API. When a sale is made, it automatically decreases the stock quantity in InFlow. When new stock arrives, it increases the quantity.
- Syncs customer data. When a new client is added in Jobber, an agent creates a corresponding customer record in InFlow Inventory.
-
Explore Other Integrations:
- Connect InFlow to your accounting software. When a new sales order is fulfilled in InFlow, trigger an agent to create an invoice in your accounting platform.
- Use an LLM component to generate a rich product description, then use the InFlow API to update the product record.