# Backend Workflows Issue

**URL:** <https://forum.bubble.io/t/backend-workflows-issue/214528>\
**Category:** APIs\
**Created:** [July 7, 2022, 10:31pm UTC](https://forum.bubble.io/t/backend-workflows-issue/214528 "2022-07-07T22:31:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karshypr](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@karshypr](https://forum.bubble.io/u/karshypr)\
**Post date:** [July 7, 2022, 10:31pm UTC](https://forum.bubble.io/t/backend-workflows-issue/214528/1 "2022-07-07T22:31:57Z")

</div>

Hello All! In my application I’m using backend workflows to create a thing to my database for an anonymous user. The problem I’m facing is I would also like to retrieve the newly created unique id to be used on the front end as a URL parameter.

Any thoughts would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![williamtisdale](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/williamtisdale/32/113723_2.png) [@williamtisdale](https://forum.bubble.io/u/williamtisdale)\
**Post date:** [July 8, 2022, 12:18am UTC](https://forum.bubble.io/t/backend-workflows-issue/214528/2 "2022-07-08T00:18:19Z")

</div>

You can add the “Return data from API” action to your Backend Workflow and return a text that is the id of the created thing. Then add a post request to that endpoint in the Bubble API Connector plugin. You can see what the url will be in your Settings/API tab at the top labeled “Workflow API root url”. It will look like this: `https://example.com/version-test/api/1.1/wf`. You will just need to add the name you gave your backend workflow to the end. So if it is called “create\_thing”, then you will use `https://example.com/version-test/api/1.1/wf/create_thing`. Make sure you remember to remove the version-test from the url before you update your live version. Make that post request an action so it can be used as a step in your workflow. You will use this action in place of “Schedule Backend Workflow” action. Finally, you will be able to access the returned data through the use of “Result of step 1’s id”.

Note: There are a few boxes at the top of your backend workflow that may or may not need to be checked based on your privacy rules.
