The Togai and Netsuite Integration supports a bidirectional sync Togai and Netsuite. This API guide will walk you through the steps to set up the integration, configure apps and flows, and enable automation for your business processes.

The integration between Netsuite and Togai requires only a one-time setup. Follow the steps below:

Installation of App Instances

  • Navigate to the Integrations section from the left navigation bar in Togai
  • Click on Apps to access the list of apps with tight integration support
  • Locate and select Netsuite from the available apps
  • Click on the +Add connection button
  • Provide a name for the connection and paste your Netsuite API key into the appropriate field

Repeat the same process for Togai, treating it as a separate App within the integration.

Note: Togai is considered an app in our integration so it is easy for you to configure different keys for different flows. This way you can have specific permissions configured for a specific key, making it more secure. To create a secret key for Togai, go to the Admin Center on the left nav bar. Click on the API tokens tab. Then click on the ‘`Generate new token`’ button.

Triggers and Actions


There are 2 Actions and 1 Triggers available for Netsuite currently. The way it works is,

If {trigger}, then do {Action}

You can pick and choose the trigger and action that you want from the lengthy list available from all the applications.

You can use these as building blocks to build your own flows.

An example flow would be: On creation of an invoice in Togai, create payment link Netsuite.

Flows and Automation

  • To enable flows, access the Flows section within Integrations
  • Select the desired flow from the available options or create a new flow to meet your requirements
  • To create a new flow:
  • Enter the flow name and description
  • Select the flow type from the dropdown
    Inbound Flow - based on third party events(eg: Netsuite), actions are triggered in Togai
    Outbound Flow - based on events occurring in Togai, changes are made to the connected third party app
  • Define triggers by choosing the source application from where the flow starts
  • Select a predefined trigger from the dropdown list
  • Next, define an action which makes the desired changes by selecting the destination app
  • Select a predefined action from the dropdown list. You can add multiple actions.
  • Lastly, preview the flow and save changes
  • Else, choose an existing flow and select +Add Connection
  • Configure the triggers and actions by specifying the app instance (Netsuite or Togai) associated with each step.

Now, when a new invoice is generated in Togai, it is synced in Netsuite as well. To refer to invoice in Netsuite or Togai, you can obtain the customer ID and account ID. In Togai, go to Customers, select an account, and find the invoice ID under the Settings tab. Use these IDs to reference the invoice in Netsuite, or vice versa.

Available Flows

Here are the out-of-the-box flows that you can use in the future:

**1. Create Invoice in Netsuite on Togai Invoice **

  • A new invoice is created in Togai
  • Togai then creates an invoice in Netsuite for the corresponding invoice.
  • You can see this mapping of invoice in the Settings for each invoice

2. Mark Togai invoice as paid on Netsuite payment

  • Once the payment is successful in Netsuite, netsuite sends a webhook call.
  • On listening to the webhook call, this flow will mark the correpondng invoice as paid

Invoice ID

To refer to invoice in Netsuite or Togai, you can obtain the account ID.

  • In Togai, go to Customers, select an account, and find the invoice ID under Billing.
  • Netsuite invoice ID is added as a setting for that invoice
  • Use invoice ID to reference the invoice in Netsuite, or vice versa.

By following this API guide, you can leverage the Togai and Netsuite Integration to automate processes, save time on manual tasks, and ensure seamless data synchronization.