This workflow automates Unleashed Software inventory tasks, supporting getSalesOrders, getStockOnHand, getStockDetails, and checkAvailability operations. Key nodes include Webhook Trigger (starts via POST), Input Validation (checks operation), Check Operation Type (routes operations), Validate Product ID (ensures productId for stock details/availability), Get Sales Orders/Get Stock On Hand/Get Product Stock Details/Get Product for Availability (Unleashed API calls), Check Sales Orders/Stock/Stock Details/Availability Success (validates responses), and Success/Error Response nodes (returns results/errors).\n\nSetup Requirements and Configuration: Install n8n from n8n.io for self-hosting or sign up at cloud.n8n.io for cloud setup. Follow prompts or create a cloud account. Obtain an Unleashed API key from app.unleashedsoftware.com: log in, go to 'Settings' > 'Integrations' > 'API Access,' generate an API key and ID, and copy both. In n8n, import the JSON workflow. Configure Unleashed nodes (e.g., Get Sales Orders, Get Product Stock Details) with the API key and ID under ‘Credentials’ > ‘Unleashed Software API.’ Set Webhook Trigger path to ‘unleashed-inventory,’ configure for POST requests, and set allowedOrigins to ‘https://*’ for secure access. Optionally add header authentication (e.g., ‘Authorization: Bearer your-key’). Ensure the server supports API calls. Testing and Deployment Steps: Test with Postman using a POST request to the Webhook URL. Example JSON: {'operation': 'getSalesOrders', 'limit': 10} or {'operation': 'checkAvailability', 'productId': 'PROD123'}. Success responses return 200 with sales orders, stock data, or availability status and timestamp. Error nodes return a 400 status for invalid inputs (e.g., missing productId) or a 500 status for API failures. Check logs for errors like ‘Invalid API key,’ ‘Product not found,’ or ‘Rate limit exceeded,’ and verify credentials or inputs. Activate workflow in n8n. Validate output: ensure count reflects retrieved items for getSalesOrders/getStockOnHand, productId matches for stock details/availability, and timestamp is current. Debug errors using n8n logs for issues like invalid product IDs or network problems.
$6.99
Workflow steps: 30
Integrated apps: webhook, if, respondToWebhook