# Pass additional field(s) to/with HTTP response data

**URL:** <https://community.hubspot.com/t/pass-additional-field-s-to-with-http-response-data/100950>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [February 23, 2024, 5:21pm UTC](https://community.hubspot.com/t/pass-additional-field-s-to-with-http-response-data/100950 "2024-02-23T17:21:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tberneman](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tberneman/32/75413_2.png) [@tberneman](https://community.hubspot.com/u/tberneman)\
**Post date:** [February 23, 2024, 5:21pm UTC](https://community.hubspot.com/t/pass-additional-field-s-to-with-http-response-data/100950/1 "2024-02-23T17:21:12Z")

</div>

I’m using n8n and getting a list of all my users then gathering all the tasks for each user so that I can add them to our local SmarterMail server. As you can see in the screenshot I’m getting the Task info data on the right but none of the data on the left. I want the email address on the left to pass through to the HTTP response on the right.

 ![2024-02-22 16_45_41-n8n.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/a/8a8bbf23c7a687fa2386fe099261d8e6c2ecc73e.png)

I tried acomplishing this by adding a “fields” section to the JSON in my Body but don’t know if I have the right idea or if it’s not even possible.

```lia-code-sample
{
"fields": [{ "email": "jon.doe@domain.com" }],
"properties": [
"hs_task_subject",
"hs_task_body",
"hs_task_type",
"hs_task_priority",
"hs_task_email",
"hs_timestamp",
"hs_task_status" ]
}

```

Hopefully someone has had a similar issue and figured out a solution.

Thank you!

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [February 24, 2024, 12:47am UTC](https://community.hubspot.com/t/pass-additional-field-s-to-with-http-response-data/100950/2 "2024-02-24T00:47:20Z")

</div>

Hi @tberneman 👋

As far as I can tell, you’re n8n “Output” in this case is limited by what can be returned by [HubSpot’s CRM Search API](https://developers.hubspot.com/docs/api/crm/search). Any unsupported request JSON body keys (incl. “fields”) is typically ignored by this API. Furthermore, it looks like Task Owner Email Address is not a standard property within HubSpot’s “Task” object type, so it’s not as simple as adding this to your requested properties.

I think you’ll need to design a solution that references the “email” from your “Input” per HubSpot Owner (assuming this is happening within a loop?). Alternatively, maybe you could add “hubspot\_owner\_id” to your requested Task properties to be returned and operate some kind of lookup table “hubspot\_owner\_id” to HubSpot Owner “email”.

I hope this proves useful. Please let me know if you have any follow-up questions.
