For Excel Models
- Use Named Cells: Essential for field detection - name every cell you want in your API
- Descriptive Names: Use clear names like "annual_income" not "input1" - these become your API field names
- Formula vs. Value Cells: Cells with formulas become output-only, cells with values become input/output
- Consistent Cell Types: Use proper Excel formatting (currency, percentage, date) for automatic type detection
- Test Edge Cases: Include validation for negative numbers, division by zero, etc.
For API Integration
- Handle Errors Gracefully: Always check the
success
field - Validate Inputs: Check data before sending to API
- Cache When Appropriate: Don't recalculate unchanged data
- Monitor Usage: Track API calls to stay within rate limits
- Version Control: Keep track of Excel model versions
Security
- Protect API Keys: Never expose keys in client-side code
- Use HTTPS: All API calls are encrypted
- Audit Access: Monitor who accesses your calculations
- Regular Updates: Keep your Excel models and API configurations current