You probably already know that Pluga allows you to automate processes using any tool that can send data via Webhook. Now, this functionality just got a major upgrade, we’ve launched support for webhooks with arrays!

In practice, this unlocks more flexibility and makes it easier to integrate tools that send data in list format, a common scenario for those working with e-commerce platforms, ERPs, CRMs, and more.

Learn more about Pluga Webhooks at:

What are webhooks with arrays, exactly?

Arrays are structured lists of data that are grouped into a single package like a list of products sold in one purchase.For example, let’s say a customer buys a pair of sneakers and a T-shirt in the same transaction. In a Webhook without arrays, this data would arrive “flattened” or even duplicated, like this:

{
  "customer_name": "Fernanda",
  "product_1_name": "Sneakers",
  "product_1_price": 199.90,
  "product_1_quantity": 1,
  "product_2_name": "T-shirt",
  "product_2_price": 59.90,
  "product_2_quantity": 2,
  "payment_method": "credit_card"
}

But with arrays, the same data is structured more cleanly and clearly:

{
  "customer": {
    "name": "Fernanda"
  },
  "purchase": {
    "products": [
      {
        "name": "Sneakers",
        "price": 199.90,
        "quantity": 1
      },
      {
        "name": "T-shirt",
        "price": 59.90,
        "quantity": 2
      }
    ],
    "payment_method": "credit_card"
  }
}

In other words, arrays bring related data together into a well-organized “family” of information.

What changes with arrays in Pluga?

The ability to receive list-based data via Webhooks unlocks scenarios that previously required workarounds, like complex spreadsheet formulas or extra middleware.

With support for arrays, you can now view and map each item within a list directly inside your automation.

Here’s what you can do with it:

All of that in a single automation.

And since many business tools already send webhook data in array format, this update makes it much easier to integrate with platforms like:

…and many more!

Read too:

How Pluga Webhooks with arrays work in practice

Arrays give you real flexibility and that translates directly into smoother day-to-day operations.

For example, say you need to create contracts in your ERP based on a list of products or services that were sold. You can now do that easily with Pluga Webhooks.

Here’s how the process works:

Step 1: Select Pluga Webhooks as your trigger

When configuring your automation with Webhooks as the source tool, Pluga automatically detects arrays in the data. They appear clearly structured on the mapping screen.

Step 2: Choose the destination app

Decide which tool will receive the data that came in via Pluga Webhooks.

Step 3: Map the data

If the webhook contains an array of products, for example, you’ll see a section for “items” where you can view and map each field and attribute (like name, price, quantity) according to your needs.

Step 4: Finish your automation

That’s it! Now, whenever your webhook is triggered, all the items in your array will be processed and recorded in the destination tool  automatically.

💡 Already using Webhooks in Pluga? Great news: nothing changes. But now, if your incoming data includes arrays, you can manage them directly in Pluga with no external tools needed.

FAQ:

What are arrays?

Arrays are structured lists of data that come grouped in a single package — like a list of products sold in one purchase.

How can Pluga Webhooks with arrays help me?

Arrays bring flexibility that leads to real-world applications. For example, if you need to create contracts in your ERP based on a list of negotiated products or services, that’s now possible using Pluga Webhooks with arrays.