Elliott Leonard
09/15/2025, 9:57 PMCeligo AI
09/15/2025, 9:57 PMAI generated answer (using internal Slack threads):The easiest way to send real-time data to Salesforce when a NetSuite record is updated is by using a User Event (UE) script in NetSuite. This script can be triggered on the 'afterSubmit' event, which is fired whenever a record is created, updated, or deleted. In the context of your question, you would need to write a UE script that is triggered when a specific NetSuite record is updated. This script would then call an API endpoint in Salesforce, passing the updated data as part of the request. Here is a high-level overview of the steps involved: 1. Write a User Event script in NetSuite that is triggered on the 'afterSubmit' event. 2. In the script, capture the updated record data. 3. Make an HTTP request to Salesforce, passing the updated data as part of the request. You would likely use the 'https.post' method provided by the 'N/https' module in SuiteScript for this. Please note that you would need to handle the authentication and authorization process for Salesforce in your script. This could involve generating an access token and including it in the header of your HTTP request. Also, keep in mind that not all actions in NetSuite cause the script to kick off. There's a lot of bulk processing that happens and those typically do not fire a UE. From my experience, it's not documented (well at least) and you have to just try the process and see if your event fires. Otherwise, your option is to have some kind of scheduled process that looks for changes. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Celigo AI
09/15/2025, 9:58 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836792
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83605963
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831665099
Celigo AI
09/15/2025, 9:58 PM