# Remove Lead from Campaign

**URL:** https://forum.mautic.org/t/remove-lead-from-campaign/2148
**Category:** Product Support
**Created:** [August 5, 2015, 12:44pm UTC](https://forum.mautic.org/t/remove-lead-from-campaign/2148 "2015-08-05T12:44:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Filipe](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@Filipe](https://forum.mautic.org/u/Filipe)
#### Post date: [August 5, 2015, 12:44pm UTC](https://forum.mautic.org/t/remove-lead-from-campaign/2148/1 "2015-08-05T12:44:59Z")

</div>

Hi guys,  
  
  
  
I am implementing Mautic in my company ecommerce and I got a issue.  
  
After my lead reachs a goal (buy something) how can i remove it from the campaign actions?  
  
  
  
This feature will help us a lot.  
  
  
  
Thanks!!!

---

<div class="post-metadata">

### Author: ![Filipe](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@Filipe](https://forum.mautic.org/u/Filipe)
#### Post date: [August 5, 2015, 12:44pm UTC](https://forum.mautic.org/t/remove-lead-from-campaign/2148/2 "2015-08-05T12:44:59Z")

</div>

Hi guys,

I am implementing Mautic in my company ecommerce and I got a issue.  
After my lead reachs a goal (buy something) how can i remove it from the campaign actions?

This feature will help us a lot.

Thanks!!!

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [August 6, 2015, 8:14am UTC](https://forum.mautic.org/t/remove-lead-from-campaign/2148/3 "2015-08-06T08:14:06Z")

</div>

Hi, there is an Action for exactly that. It’s called “Change Campaigns”.  
 ![](https://695939d7eb2597480cc916d18c504772515db6eb.googledrive.com/host/0B0VKZ9KdWYKnQ1A2U01kbzhGYWc)

---

<div class="post-metadata">

### Author: ![Filipe](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@Filipe](https://forum.mautic.org/u/Filipe)
#### Post date: [August 6, 2015, 10:26am UTC](https://forum.mautic.org/t/remove-lead-from-campaign/2148/4 "2015-08-06T10:26:26Z")

</div>

I noticed that action.  
But how can I call this action when I sell a product in my ecommerce?

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [August 6, 2015, 10:35am UTC](https://forum.mautic.org/t/remove-lead-from-campaign/2148/5 "2015-08-06T10:35:51Z")

</div>

Ahh, OK, so the question is how to let Mautic know about a custom action. I solved it at my project with a fake form submission. It works like this:

1. Create a form in Mautic. We can call it Order Form for example.
2. Create a script which will submit data from your eshop to Mautic. Here is the most of the code you need for the script: [https://medium.com/@jan\_linhart/the-simplest-way-how-to-submit-a-form-data-to-mautic-1454d3afd005](https://medium.com/@jan_linhart/the-simplest-way-how-to-submit-a-form-data-to-mautic-1454d3afd005)
3. You have to trigger the script when a customer submits the order in your eshop and feed it the data she/he submitted.  
4 . If all above is working, add “Submits Form” decision to your campaign and you can then use the “Change Campaigns” action after that.

---

<div class="post-metadata">

### Author: ![Filipe](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@Filipe](https://forum.mautic.org/u/Filipe)
#### Post date: [August 6, 2015, 11:25am UTC](https://forum.mautic.org/t/remove-lead-from-campaign/2148/6 "2015-08-06T11:25:27Z")

</div>

That´s very clever escopecz!  
I will implement that for sure =)

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [February 2, 2020, 10:58pm UTC](https://forum.mautic.org/t/remove-lead-from-campaign/2148/7 "2020-02-02T22:58:54Z")

</div>


