# Create a page with a workflow?

**URL:** <https://forum.bubble.io/t/create-a-page-with-a-workflow/138268>\
**Category:** Questions\
**Created:** [February 25, 2021, 9:24pm UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268 "2021-02-25T21:24:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![karim\_ardalan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/karim_ardalan/32/71806_2.png) [@karim\_ardalan](https://forum.bubble.io/u/karim_ardalan)\
**Post date:** [February 25, 2021, 9:24pm UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/1 "2021-02-25T21:24:22Z")

</div>

Is it possible to create a page using a workflow? I’m thinking of allowing users to create a profile page as they signup with their slug as the page URL. I am trying to do it this way so the URLs are as short as possible. Something like:

[myappurl.com/user-slug](http://myappurl.com/user-slug)

vs.

[myappurl.com/profile/user-slug](http://myappurl.com/profile/user-slug)

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [February 25, 2021, 9:25pm UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/2 "2021-02-25T21:25:34Z")

</div>

Dont believe that’s possible the slugs feature is the best you’re going to get

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [February 25, 2021, 10:27pm UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/3 "2021-02-25T22:27:13Z")

</div>

In Bubble, a page can be set to a Data type. This is what you need to do. Create a profile page, set it to “user” for data type. When user will signup, redirect them to the profile page and it will ask you to enter data: use current user.  
You can use slug if you want to display in the url. No problem. The process stay the same but on user signup, you will set the slug

---

<div class="post-metadata">

**Author:** ![karim\_ardalan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/karim_ardalan/32/71806_2.png) [@karim\_ardalan](https://forum.bubble.io/u/karim_ardalan)\
**Post date:** [September 14, 2021, 3:47am UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/4 "2021-09-14T03:47:33Z")

</div>

Thanks Jici, but my question is what will be the URL of each user’s profile page? I was hoping for [myappurl.com/user-slug](http://myappurl.com/user-slug)

If I understand what you’re suggesting, then the URL would be something like:  
[myappurl.com/profile?slug](http://myappurl.com/profile?slug)

In order for the URL to be:  
[myappurl.com/user-slug](http://myappurl.com/user-slug)  
I would need a page created for each user, or I would somehow have to overwrite the 404 handler which I don’t know if it’s possible to do or not.

---

<div class="post-metadata">

**Author:** ![calmorrison](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/calmorrison/32/104028_2.png) [@calmorrison](https://forum.bubble.io/u/calmorrison)\
**Post date:** [September 14, 2021, 4:44am UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/5 "2021-09-14T04:44:53Z")

</div>

Slugs are your best bet. If you create the user profile page to have a short name, it will make the URL shorter. So for example you could have something like [myappurl.com/p/myusername](http://myappurl.com/p/myusername). Think of those YouTube urls where it was [youtube.com/c/channelname](http://youtube.com/c/channelname). Here’s a great video: [How to Create Clean URLs for Your Bubble App's Pages - YouTube](https://www.youtube.com/watch?v=udqTvOJASuQ)

Unfortunately within Bubble I don’t think its possible to have dynamic data be the first thing after the main url, I believe that’s reserved for pages. I took a quick look at the plugins list as well and there doesn’t appear to be anything there that can help either.

Hope this helps!  
Cal

---

<div class="post-metadata">

**Author:** ![karim\_ardalan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/karim_ardalan/32/71806_2.png) [@karim\_ardalan](https://forum.bubble.io/u/karim_ardalan)\
**Post date:** [September 14, 2021, 5:33am UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/6 "2021-09-14T05:33:37Z")

</div>

Thank you Cal. That’s very helpful. I ended up using the 404 page to redirect correct user slugs to their profile page. So this way users can have a /slug as their URL but ultimately the short url redirects them to /p/slug.

---

<div class="post-metadata">

**Author:** ![calmorrison](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/calmorrison/32/104028_2.png) [@calmorrison](https://forum.bubble.io/u/calmorrison)\
**Post date:** [September 14, 2021, 12:33pm UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/7 "2021-09-14T12:33:30Z")

</div>

That is a really awesome solution, I didn’t think that was possible! So do you have access to what page the user was trying to navigate to? And then send them to the user profile page if that page is a valid user slug?

---

<div class="post-metadata">

**Author:** ![karim\_ardalan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/karim_ardalan/32/71806_2.png) [@karim\_ardalan](https://forum.bubble.io/u/karim_ardalan)\
**Post date:** [September 14, 2021, 1:50pm UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/8 "2021-09-14T13:50:04Z")

</div>

Yes. You can use get from page url to grab the path and search to see if such a slug exists. If it does, redirect them to their profile page and if it doesn’t show the 404 message.

---

<div class="post-metadata">

**Author:** ![calmorrison](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/calmorrison/32/104028_2.png) [@calmorrison](https://forum.bubble.io/u/calmorrison)\
**Post date:** [September 15, 2021, 12:42pm UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/9 "2021-09-15T12:42:36Z")

</div>

That’s awesome! Does it result in any noticeable delay when you access the 404 page before being redirected?

---

<div class="post-metadata">

**Author:** ![karim\_ardalan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/karim_ardalan/32/71806_2.png) [@karim\_ardalan](https://forum.bubble.io/u/karim_ardalan)\
**Post date:** [September 15, 2021, 2:41pm UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/10 "2021-09-15T14:41:22Z")

</div>

There is a short delay, but I think it’s unavoidable and I can display a loading screen before redirecting them to their profile.

---

<div class="post-metadata">

**Author:** ![thaumaturgyai](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@thaumaturgyai](https://forum.bubble.io/u/thaumaturgyai)\
**Post date:** [March 20, 2024, 10:53am UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/11 "2024-03-20T10:53:09Z")

</div>

Can you share more details on how you did this please

---

<div class="post-metadata">

**Author:** ![stuartborders](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/stuartborders/32/241340_2.png) [@stuartborders](https://forum.bubble.io/u/stuartborders)\
**Post date:** [February 5, 2025, 3:26am UTC](https://forum.bubble.io/t/create-a-page-with-a-workflow/138268/12 "2025-02-05T03:26:08Z")

</div>

That is a pretty cool solution. I am curious is this is still the best way to achieve this functionality?

Do I create a page called “c” (for campaign in my case)? Then use GET to grab the rest of the URL to select all the relevant information to build/fill the page content?
