Answers.Body: <p>You can use search builder using condition shown in image to create a smart group.</p>
  <p>You can add more filter based on your payment processor to limit the result to first payment, for that you will need to diff between first payment and second payment in civicrm_contribution table. For example if you using paypal for recurring contribution than the first contribution has invoice_id set but the subsequent ones are set to NULL so you can use filter like Invoice reference not null, for Smart debit you can use contribution source eg contribution source like %Membership form%.</p>
  <p><a href="https://i.sstatic.net/MjjLS.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/MjjLS.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-13T20:54:14.967Z
Answers.Text: This would also find $10/mo donors who made a one time $100 donation though.
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-13T19:53:29.527Z
Answers.LastActivityDate: 2020-07-13T20:09:59.163Z
Answers.LastEditDate: 2020-07-13T20:09:59.163Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I want to use CiviRules to add new recurring donors to a group when they sign up, depending on how much they give per month.</p>
  <p>I could set up the trigger to look at the value of each new contribution, but that will activate the rule every month.</p>
  <p>My thought was to have the rule triggered on new membership (we are using iATS to generate memberships based on recurring contributions), and use the Membership Recurring Contribution field to evaluate the amount, but apparently that is simply an id number.</p>
  <p>How can I find the value of a recurring contribution and add users to a group depending on the amount, but only when they first sign up?</p>
  <p>CiviCRM 5.24.6, CiviRules 2.5</p>
  <p>Thanks!</p>
  
Tags: <civicontribute><civirules>
Title: How do I isolate the amount of a recurring contribution in CiviRules?
ThreadText: # How do I isolate the amount of a recurring contribution in CiviRules?
  
  (Asked by: username_0 on 2020-07-13)
  
  I want to use CiviRules to add new recurring donors to a group when they sign up, depending on how much they give per month.
  
  I could set up the trigger to look at the value of each new contribution, but that will activate the rule every month.
  
  My thought was to have the rule triggered on new membership (we are using iATS to generate memberships based on recurring contributions), and use the Membership Recurring Contribution field to evaluate the amount, but apparently that is simply an id number.
  
  How can I find the value of a recurring contribution and add users to a group depending on the amount, but only when they first sign up?
  
  CiviCRM 5.24.6, CiviRules 2.5
  
  Thanks!
  
  **Tags:** civicontribute, civirules
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-07-13. Score: 2
  
  You can use search builder using condition shown in image to create a smart group.
  
  You can add more filter based on your payment processor to limit the result to first payment, for that you will need to diff between first payment and second payment in civicrm\_contribution table. For example if you using paypal for recurring contribution than the first contribution has invoice\_id set but the subsequent ones are set to NULL so you can use filter like Invoice reference not null, for Smart debit you can use contribution source eg contribution source like %Membership form%.
  
  [![enter image description here](https://i.sstatic.net/MjjLS.png)](https://i.sstatic.net/MjjLS.png)
  
  > **Comments:**
  > **username_2**: This would also find $10/mo donors who made a one time $100 donation though.  
  
  ---
  
  