Hi everyone,
I’m exploring the possibility of integrating Google Gemini (or similar AI models) with NetSuite to automatically populate record fields using data sourced from outside NetSuite.
Use case:
- Sending data (e.g., item name, SKU, or description) from NetSuite to an external AI (Gemini API)
- Processing/enriching the data externally (e.g., generating descriptions, categorization, attributes)
- Returning the response and automatically filling specific fields in NetSuite records (Items, Opportunities, etc.)
What I’m trying to understand:
- What is the best approach for this integration?
- SuiteScript (RESTlet / Suitelet)?
- Middleware (Node.js, Python, etc.)?
- Has anyone successfully integrated Gemini (or OpenAI) with NetSuite?
- Recommended architecture for:
- Sending requests securely
- Handling API limits and latency
- Writing back to NetSuite fields reliably
- Any limitations or governance concerns I should be aware of?
Current idea:
- Trigger via User Event or Client Script
- Call external API (Gemini) via RESTlet or middleware
- Process response and update fields dynamically
Would really appreciate any examples, architecture suggestions, or best practices from your experience.
Thanks in advance!