Sales Hub Tools

FF9
Member

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

SOLVE

Hi,

 

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

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

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

SOLVE

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

Postman.png

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

Postman.png

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 😀

(thanks for the ping @Josh )

 

View solution in original post

5 Replies 5
FF9
Member

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

SOLVE

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?

0 Upvotes
Josh
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

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

SOLVE

@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 @TiphaineCuisset @sharonlicari 




Did this post help solve your problem? If so, please mark it as a solution.

Josh Curcio

HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers.
HubSpot Platinum Partner & HubSpot Certified Trainer

dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

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

SOLVE

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

Postman.png

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

Postman.png

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 😀

(thanks for the ping @Josh )

 

FF9
Member

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

SOLVE

Worked like a CHARM! THANK YOU!!

Josh
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

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

SOLVE

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 




Did this post help solve your problem? If so, please mark it as a solution.

Josh Curcio

HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers.
HubSpot Platinum Partner & HubSpot Certified Trainer