Solving Shippo Integration Issues on Make.com

Hello there! If you're new to Make.com and are trying to create a flow where you create a shipment with Shippo, you might have come across a common problem. You see, Shippo returns a collection of rates (cheapest, fastest, etc.), and you might want to create a label informed by business logic on which option to choose. But, you might have noticed that in the create label module, you can't select a specific item in the collection. Don't worry, you're not alone in this, and there's a solution. First, let's understand the problem a bit more. In the collection of rates, you can't expand it, so you cannot select the collection you want based on the need. You might have found a workaround by transforming to JSON and then parsing it, but you haven't found a way to select just the JSON node you want to send to Shippo to purchase the label. For now, in your testing account, it runs three times for each label. There are 3 bundles available after the parse JSON module. But in the create label module, you can't select a specific bundle to act on, and it just iterates through all 3. So, why isn't the collection expandable? And how can you limit the Shippo module to just one of the collections from the output of the JSON parse? Here's the solution. You see, 'Rates' is an array. You cannot directly apply mapping to the values within the array. Therefore, to retrieve the array's contents, you either need to use an iterator for retrieve collection or utilize the 'map' function along with the 'get'. I hope this helps you in your journey with Make.com. If you have any more questions or need further implementation, don't hesitate to get in touch. Happy making!

You do have further questions?

Ask your question via E-Mail: Richard@make-app.de
Book a paid Support & Consulting Session
New Make.com user? Sign up through this Affiliate Link to receive 10.000 operations for FREE.