# Using previous outputs in the next API endpoint URL parameters

**URL:** <https://community.parabola.io/t/using-previous-outputs-in-the-next-api-endpoint-url-parameters/2275>\
**Category:** Ask a question\
**Tags:** Building-Flows\
**Created:** [February 12, 2022, 11:57pm UTC](https://community.parabola.io/t/using-previous-outputs-in-the-next-api-endpoint-url-parameters/2275 "2022-02-12T23:57:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Isabel](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@Isabel](https://community.parabola.io/u/Isabel)\
**Post date:** [February 12, 2022, 11:57pm UTC](https://community.parabola.io/t/using-previous-outputs-in-the-next-api-endpoint-url-parameters/2275/1 "2022-02-12T23:57:02Z")

</div>

Hi,

In my flow I’ve got a step that extracts texts from a column. In the following step I’d like to include this string in the API Endpoint URL so I can pull something specific.

Is this possible?

Thank you!

---

<div class="post-metadata">

**Author:** ![Emory\_Stainbrook](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/emory_stainbrook/32/1772_2.png) [@Emory\_Stainbrook](https://community.parabola.io/u/Emory_Stainbrook)\
**Post date:** [February 14, 2022, 6:00pm UTC](https://community.parabola.io/t/using-previous-outputs-in-the-next-api-endpoint-url-parameters/2275/2 "2022-02-14T18:00:07Z")

</div>

Hi @Isabel- happy to help!

If you want to include that string in the API endpoint URL, you should be able to do this with an Enrich with an API step. While we aren’t able to support adding text to the Request Headers or Authentication sections of that step, you should be able to pass in values to the API Endpoint URL or Request Body with {ColumnName}.

---

<div class="post-metadata">

**Author:** ![Isabel](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@Isabel](https://community.parabola.io/u/Isabel)\
**Post date:** [February 15, 2022, 8:32pm UTC](https://community.parabola.io/t/using-previous-outputs-in-the-next-api-endpoint-url-parameters/2275/3 "2022-02-15T20:32:40Z")

</div>

Thank you so much Emory! This is brilliant. My flow is now fully automated and I was able to shorten it by 40% (I got rid of all the unnecessary separate pulls and table merges).

---

<div class="post-metadata">

**Author:** ![Will\_Kidger](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@Will\_Kidger](https://community.parabola.io/u/Will_Kidger)\
**Post date:** [November 26, 2023, 11:48pm UTC](https://community.parabola.io/t/using-previous-outputs-in-the-next-api-endpoint-url-parameters/2275/4 "2023-11-26T23:48:32Z")

</div>

Hi, I had the same question and found this thread, however in my case the request needs to be a PUT, which isn’t an option witht he ‘Enrich’ step. How would I use a variable in the endpoint for a ‘post’ step?

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/daniel/32/732_2.png) [@daniel](https://community.parabola.io/u/daniel)\
**Post date:** [November 27, 2023, 7:44pm UTC](https://community.parabola.io/t/using-previous-outputs-in-the-next-api-endpoint-url-parameters/2275/5 "2023-11-27T19:44:22Z")

</div>

Hi @Will_Kidger

Our Enrich with API step does not support `PUT` requests at the moment. The Send to API step, however, can also use variables by referencing column headers.

Unlike the Enrich with API step, the response will not be returned. You will need to make separate API requests to pull the modified records into Parabola.

Hope that adds some insight! Let me know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![Will\_Kidger](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@Will\_Kidger](https://community.parabola.io/u/Will_Kidger)\
**Post date:** [November 27, 2023, 9:20pm UTC](https://community.parabola.io/t/using-previous-outputs-in-the-next-api-endpoint-url-parameters/2275/6 "2023-11-27T21:20:54Z")

</div>

Hi @daniel,

Thanks, but whilst in the request body Parabola recognises I’m typing a column header/variable, in the endpoint/request URL, it doesn’t:

![CleanShot 2023-11-27 at 21.18.32](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/2X/4/453ceee982132e614c5390b68438f5799c83b816.gif)

Will it work anyway, if I just type in the correct value in?

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/daniel/32/732_2.png) [@daniel](https://community.parabola.io/u/daniel)\
**Post date:** [November 27, 2023, 9:51pm UTC](https://community.parabola.io/t/using-previous-outputs-in-the-next-api-endpoint-url-parameters/2275/7 "2023-11-27T21:51:03Z")

</div>

Hi @Will_Kidger

That should still work! If it doesn’t, please let me know.
