Title: Does API plugin trigger assignment rules in Salesforce?
Last modified: August 20, 2016

---

# Does API plugin trigger assignment rules in Salesforce?

 *  [xelan54](https://wordpress.org/support/users/xelan54/)
 * (@xelan54)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/does-api-plugin-trigger-assignment-rules/)
 * I know that in web-to-lead when a lead arrives, you can trigger a default assignment
   rule in Salesforce to assign the lead. There is also a default response template,
   allowing you to send a customized message to the email address in the lead.
 * I want to do this via the API plugin, but I am having a hard time getting the
   lead assignment rule in Salesforce to fire when the API plugin stores the lead
   from the Gravity form in Salesforce. The API plugin stores the lead perfectly.
   I’ve turned on monitoring in Salesforce — there are no errors.
 * I set the assignment rule up to fire when the lead source matches a text string
   from a hidden field on the Gravity form. The text arrives and is stored in Lead
   Source, but while it matches the assignment rule condition, the rule doesn’t 
   fire.
 * Is there a way to make the Gravity Salesforce API trigger an assignment rule 
   in Salesforce?
 * [http://wordpress.org/extend/plugins/gravity-forms-salesforce/](http://wordpress.org/extend/plugins/gravity-forms-salesforce/)

Viewing 1 replies (of 1 total)

 *  [justinhoysradt](https://wordpress.org/support/users/justinhoysradt/)
 * (@justinhoysradt)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/does-api-plugin-trigger-assignment-rules/#post-3507633)
 * When using the standard Web to Lead Version of this Plugin my form is able to
   trigger the active assignment rule.
 * When using the API only the plugin fails to trigger the active assignment rule.
 * When using both the plugin triggers the active assignment rule and creates duplicate
   leads in the SFDC.
 * The API is strong however, I am going to assume that the same problem is going
   to occur when creating cases.
 * Perhaps there is a way in the coding to have a check box that triggers the web
   to lead or web to case form action.

Viewing 1 replies (of 1 total)

The topic ‘Does API plugin trigger assignment rules in Salesforce?’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravity-forms-salesforce_fbfdff.svg)
 * [Gravity Forms Salesforce Add-on](https://wordpress.org/plugins/gravity-forms-salesforce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-salesforce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-salesforce/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-salesforce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-salesforce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-salesforce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [justinhoysradt](https://wordpress.org/support/users/justinhoysradt/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/does-api-plugin-trigger-assignment-rules/#post-3507633)
 * Status: not resolved