Title: Custom Action &#8211; PHP File &#8211; Integration
Last modified: April 3, 2018

---

# Custom Action – PHP File – Integration

 *  [sandfly1](https://wordpress.org/support/users/sandfly1/)
 * (@sandfly1)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/custom-action-php-file-integration/)
 * Hi,
    I’m trying to connect my form to a CRM system. The CRM company has given
   me a php code that connects to the form using action ie: <form action=’contact-
   crm.php’ method=’post’>. I’ve put this at the top of the Form window in the contact
   7 plugin.
 * I’m having problems with the form data loading into the CRM system. Where should
   my PHP file be stored in my WordPress files? Should it be in the plugin folder?
   The PHP file has API codes that connects to the CRM system.
 * My form data submits fine via the email address so I know the form is working.
   Any suggestions about how I can get this working?

The topic ‘Custom Action – PHP File – Integration’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [custom php](https://wordpress.org/support/topic-tag/custom-php/)

 * 0 replies
 * 1 participant
 * Last reply from: [sandfly1](https://wordpress.org/support/users/sandfly1/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/custom-action-php-file-integration/)
 * Status: not resolved