This topic was automatically generated from Slack. You can find the original thread here.
(or anyone) - I see that Pipedream doesn’t have an integration with NetSuite, did anyone try to connect with their APIs? Any tips or head-up would be great!
This topic was automatically generated from Slack. You can find the original thread here.
(or anyone) - I see that Pipedream doesn’t have an integration with NetSuite, did anyone try to connect with their APIs? Any tips or head-up would be great!
It appears that Pipedream does not have a pre-built integration with NetSuite at the moment. However, you can still connect to NetSuite’s APIs using custom code within a Pipedream workflow. Here’s a general approach to get started: 1. Authenticate with NetSuite’s API: You’ll need to authenticate your requests. NetSuite uses OAuth for authentication, so you’ll need to obtain OAuth credentials (like client ID, client secret, and possibly a refresh token) from NetSuite. 2. Use the axios package to make API requests: Once you have your credentials, you can use the axios package available in Pipedream to make HTTP requests to NetSuite’s API. Here’s a basic example of how you might structure a request to NetSuite’s API in a Pipedream workflow: import { axios } from "@pipedream/platform" export default defineComponent({ async run({ steps, $ }) { const url = "https://your-netsuite-instance-url.com/rest/api/path"; // Replace with the actual API endpoint const response = await axios($, { method: "GET", // or "POST", "PUT", etc., depending on the action you're taking url: url, headers: { "Authorization": "Bearer YOUR_ACCESS_TOKEN", // Replace with your actual access token // Add any other required headers here }, // If you're making a POST request, add your payload here // data: { // key: "value", // }, }); return response; // This will return the API response to the Pipedream step }, }) Please replace "https://your-netsuite-instance-url.com/rest/api/path" and "Bearer YOUR_ACCESS_TOKEN" with the actual API endpoint you’re trying to reach and your OAuth access token, respectively. Remember, this is a basic example to get you started. You’ll need to consult NetSuite’s API documentation for specific endpoints, required headers, and other details. If you find that you need a specific NetSuite integration that doesn’t exist yet on Pipedream, you can request a new feature or app integration by following the instructions here. For more complex scenarios or if you encounter any issues, don’t hesitate to
You might need to set up client to client machine to use Netsuite’s Suitetalk in Pipedream.
Will depend on what you want to do, if you will be using SOAP or Rest for what you want to do and if you will be using Node or Python even.
Could be challenging but doable
cc
I setup a Netsuite integration for my company a few years ago using netsuite-sdk-py. It’s pretty simple (once you know what you are doing in NetSuite, and figure out how their API documentation works).
It’s not currently implemented as a Pipedream workflow, but it is definitely a candidate for migration!
Hey everyone, thanks for your input!