A comprehensive Front sidebar plugin that brings NetSuite ERP functionality directly into your Front conversations. Access customer data, manage invoices, track inventory, and more without leaving Front.
Learn more about this project on our Developer Portal and access the AI prompt file that created it.
-
Financial Management
- View open invoices and payment status
- Financial summary dashboard
- Create invoice reminder drafts
- Track revenue, expenses, and cash flow
-
Inventory & Supply Chain
- Real-time inventory levels
- Low stock alerts
- Location-based tracking
- Average cost and pricing information
-
Customer Relationship Management
- Customer and lead management
- Contact information at your fingertips
- Sales rep assignments
- Lead qualification tracking
-
E-commerce
- Sales order monitoring
- Fulfillment status tracking
- Order details and line items
- Shipping information
-
Professional Services Automation
- Project progress visualization
- Time tracking vs. estimates
- Budget alerts and warnings
- Customer project associations
-
Analytics & Reporting
- Key performance indicators
- Custom SuiteQL query support
- Quick report generation
- Business metrics dashboard
- Debug panel (activate with
?debug=true) - Front context inspection
- Message and attachment tracking
- Full TypeScript support
- Dark mode compatible
- Node.js (v16 or higher)
- npm or yarn
- Front account with developer access
- Install dependencies:
npm install- Run the development server:
npm run dev- Note the localhost URL where the plugin is running (typically
http://localhost:3000)
-
Create a Front Developer App:
- In your Front company settings, click Developers
- Click Create App
- Fill in the app details:
- Name: "NetSuite Manager"
- Description: "Access NetSuite data within Front conversations"
-
Add a Plugin Feature:
- In your app settings, click Add Feature
- Select Plugin as the feature type
- Configure the plugin:
- Name: "NetSuite Manager"
- Type: Sidebar
- URL:
http://localhost:3000(or your localhost URL) - For debug mode:
http://localhost:3000?debug=true
-
Install the App:
- Click Install in your app settings
- Grant necessary permissions
- The plugin will appear in your Front sidebar
- Open any conversation in Front
- Click the NetSuite Manager plugin in the sidebar
- Authenticate with NetSuite (simulated in demo)
- Navigate between modules using the tabs
- Interact with NetSuite data directly from Front
- In the Financial module, click "Create Reminder" on any invoice
- In the CRM module, click "Create Email" for customer outreach
- Drafts are created directly in your Front conversation
Access advanced debugging features by appending ?debug=true to your plugin URL:
- View complete Front context data
- Inspect conversation details
- Monitor attachments
- Access technical documentation
src/
├── components/
│ ├── NetSuiteManager.tsx # Main component with tabs
│ ├── DebugPanel.tsx # Debug interface
│ └── modules/ # NetSuite modules
│ ├── FinancialManagement.tsx
│ ├── InventorySupplyChain.tsx
│ ├── CRM.tsx
│ ├── Ecommerce.tsx
│ ├── ProfessionalServices.tsx
│ └── AnalyticsReporting.tsx
├── providers/
│ └── FrontContext.tsx # Front SDK context provider
├── services/
│ └── netsuiteService.ts # NetSuite API simulation
├── App.tsx # Main app component
├── App.css # Component styles
└── index.css # Global styles
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build
The plugin simulates NetSuite's actual API patterns:
- OAuth 1.0 authentication flow
- RESTful endpoint structure
- SuiteQL query language
- Standard NetSuite record types
The plugin uses realistic mock data following NetSuite's data structures:
- Customer records with internal IDs
- Invoices with transaction IDs
- Sales orders with fulfillment status
- Inventory items with quantities
- Projects with time tracking
- Create a new module component in
src/components/modules/ - Add the module to
NetSuiteManager.tsxtabs - Extend
netsuiteService.tswith new API methods - Update styles in
App.css
To connect to an actual NetSuite instance:
- Update
netsuiteService.tswith real OAuth credentials - Replace mock API calls with actual NetSuite REST API calls
- Implement proper token management
- Add error handling for network requests
- CSS variables in
index.cssfor theming - Dark mode automatically detected
- Responsive grid layouts
- No horizontal scrolling in sidebar
- Verify the localhost URL matches your Front app configuration
- Check browser console for errors
- Ensure Front Plugin SDK is properly loaded
- Click "Connect to NetSuite" to simulate authentication
- Check localStorage for auth token
- Clear browser cache if needed
- Verify conversation is selected in Front
- Check network tab for API calls
- Review console for error messages
For issues or questions:
- Review the plugin-plan.md for technical details
- Check Front's Plugin SDK documentation
- Examine the debug panel for context information
This is a demonstration plugin with simulated data. Modify as needed for your NetSuite integration requirements.