• Resolved virtualink

    (@virtualink)


    I’m looking for leads/ideas/starting points on how to send information captured on a wordpress contact form from wordpress to a CRM system using the CRM’s REST-type APIs.

    Any guidance on this would be appreciated.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It depends on the contact form plugin you’re using and the CRM.

    Thread Starter virtualink

    (@virtualink)

    Thanks for the response. The contact forms would be Contact Form 7 and/or DIVI’s contact form. The CRM is one of several that have full feature APIs, including Freshsales and Insightly.

    Having done a little more research it looks like this is something that could be done by using WordPress API’s. Is that correct?

    After that it looks like I need to know the general location for “where to put the code”. Should I be thinking about the functions.php file of my child theme?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I think it would be better to do it in a plugin, so the functionality would survive a change of theme. It’s up to you as to whether you think the client would do that or whether you view your theme as a web application.

    Anyhow…

    CF7 and most form plugins have pre- and post-save hooks, so check hookr.io to see what hooks are available. In your callback function for that hook, you’d write the code to access the CRM’s API. WP supports all sorts of things from straight HTML posts to JSON connections.

    So, as I said, it depends on the contact form and the CRM. But yes, you can do it all with WP functionality.

    Thread Starter virtualink

    (@virtualink)

    Thanks for the response. I can see now that a) it’s doable, and b) it’s too much learning curve for myself personally. However, that’s all good as far as knowing what to do next.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Outbound API to send WP contact info to CRM system’ is closed to new replies.