# Access Webhook data in Instant-Trigger module

**URL:** <https://community.make.com/t/access-webhook-data-in-instant-trigger-module/22365>\
**Category:** Questions\
**Tags:** instant-trigger, custom-apps, webhooks\
**Created:** [December 20, 2023, 9:56pm UTC](https://community.make.com/t/access-webhook-data-in-instant-trigger-module/22365 "2023-12-20T21:56:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eli\_Rozen](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/eli_rozen/32/24088_2.png) [@Eli\_Rozen](https://community.make.com/u/Eli_Rozen)\
**Post date:** [December 20, 2023, 9:56pm UTC](https://community.make.com/t/access-webhook-data-in-instant-trigger-module/22365/1 "2023-12-20T21:56:43Z")

</div>

Using a webhook (dedicated, without Attach or Detach) to trigger a module to get additional data.  
Webhook payload is just 3 parameters:

```auto
{
  "unique_id": "<unique id>",
  "credential": "<credentials>",
  "event": "new-waiver"
}

```

Then get data associated with the unique\_id, which has to be in the API URL as follows:

```auto
{
	// Request to API endpoint with parameter "id" defined in Mappable parameters.
	"url": "/waivers/{{connection.unique_id}}", // Relative to base URL
	"method": "GET",
	"headers": {},
	"qs": {},										

	"response": {
		"output": "{{body}}"
	}
}

```

However, that does not provide the necessary data for the call, I’ve tried `connection.body.unique_id`, `webhook.unique_id`, and other permutations, but none are pulling in the data from the webhook I need.

Webhook is just simply

```auto
{
  "output": "{{body}}"
}

```

What am I missing here?

Thanks

---

<div class="post-metadata">

**Author:** ![Tereza](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/tereza/32/58341_2.png) [@Tereza](https://community.make.com/u/Tereza)\
**Post date:** [January 2, 2024, 1:29pm UTC](https://community.make.com/t/access-webhook-data-in-instant-trigger-module/22365/2 "2024-01-02T13:29:21Z")

</div>

If you need to use a parameter from the webhook’s response, make sure the parameter is mapped in `response.data` collection, otherwise the parameter will not be available via `webhook.parameter` mapping.

So in your case, instead of:

```auto
{
  "output": "{{body}}"
}

```

use:

```auto
{
    "response": {
        "data": {
            "unique_id": "{{body.unique_id}}"
        }
    }
}

```

Then, you can map the `'unique_id'`:

```auto
{
	"url": "/waivers/{{webhook.unique_id}}",
	"method": "GET",								
	"response": {
		"output": "{{body}}"
	}
}

```

Webhooks are documented [here](https://docs.integromat.com/apps/app-structure/webhooks).

---

<div class="post-metadata">

**Author:** ![Eli\_Rozen](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/eli_rozen/32/24088_2.png) [@Eli\_Rozen](https://community.make.com/u/Eli_Rozen)\
**Post date:** [January 2, 2024, 3:05pm UTC](https://community.make.com/t/access-webhook-data-in-instant-trigger-module/22365/3 "2024-01-02T15:05:51Z")

</div>

Thanks Tereza for the feedback.

I did get the simpler solution for myself which was referencing `{{payload.unique_id}}` in the Module.  
I missed that in the documentation.

Thank you again regardless, and Happy New Year!

---

<div class="post-metadata">

**Author:** ![Michaela-Inactive](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/michaela-inactive/32/29_2.png) [@Michaela-Inactive](https://community.make.com/u/Michaela-Inactive)\
**Post date:** [July 16, 2024, 11:52am UTC](https://community.make.com/t/access-webhook-data-in-instant-trigger-module/22365/4 "2024-07-16T11:52:05Z")

</div>


