I accidently deleted my Lifecycle Pipeline - how to get it back?

Hi,

I recently accidently deleted my Lifecycle pipeline using the free version of hubspot? How can I get it back :O?

Hi @FF9,

The lifecycle stage property is set at the company and contact level and those cannot be deleted. If you created a pipeline that you used as lifecycle and deleted it, I believe you will have to re-create it. However, if you are on the free version of HubSpot, you are only able to have 1 pipeline. Are you sure that you deleted it or are you potentially looking in the wrong place for it?

Josh

Hi @Josh

I didn’t delete the properties itself, but the pipeline. I installed Hubspot for Woocommerce, which created another pipeline called “Ecommerce Pipeline”. So I had 2 pipelines although using a free account. A few days later, I accidently deleted the “Lifecycle Pipeline” manually and due to the restriction of 1 pipeline max in free account, I am not able to get it back :/.

Do you have a solution for this?

@FF9 …that’s a tricky one. I’m going to have to tag some HubSpotters in on this one to see if it’s feasible.

@dennisedson @TitiCuisset @sharonlicari

oofta

@FF9 I am assuming you don’t want the ecommerce pipeline. To do this, we are going to have to make some API calls. If you that makes your stand back in fear, don’t worry, it isn’t that hard.

For something like this, I recommend using postman

You will also need to grab your portal’s hapikey which can be found in your settings. Instructions here

Now that we have the tools, let go to work

In postman, add the following to the address bar:

https://api.hubapi.com/crm/v3/pipelines/deals?archived=false&hapikey=

after the hapikey=, this is where you will add your hapikey.

When you are done, it should look something like this. Do note that we making a get request

When you click send, you should get some results in the body like this:

{
 "results": [
 {
 "label": "ServicesTraining",
 "displayOrder": 2,
 "id": "2916807",
 "stages": [],
 "createdAt": "2020-07-10T19:40:02.178Z",
 "archivedAt": "2021-03-22T20:25:34.454Z",
 "updatedAt": "2021-03-22T20:25:34.454Z",
 "archived": true
 }
 ]
}

You are interested in the ID. Copy that id number somewhere.

Now go ahead and delete the unwanted pipeline as you normally would in the UI.

Now get on back over here to postman. Let’s recover that pipeline that we want.

This time we are going to patch with the following

https://api.hubapi.com/crm/v3/pipelines/deals/id?archived=true&hapikey=

Again, add your hapikey to the end here. And right before the ?, replace id with that id that you saved somewhere.

Now, below the address bar, click body. In here, choose raw and then change text to JSON.

You should see an area where you can type below. Add the following:

{
 "archived": false
}

This is what it should like. Lots of green boxes indicating all the pieces discussed above

It will take a second or two, but below, you should get a 200ok code and should see your pipeline.

Go back to the UI, refresh your pipeline page and it should be back.

Go get yourself a treat because you deserve it :grinning_face:

(thanks for the ping @Josh )

Worked like a CHARM! THANK YOU!!