• Resolved Imageagrimeca2

    (@agrimeca2)


    Hello,

    I’m currently using SupportCandy on my WordPress site and would like to connect it to a form builder plugin (for example Forminator). My goal is to have every form submission automatically create a new SupportCandy ticket, including any uploaded files and custom form fields.

    Could you please provide guidance or share documentation on:

    1. Which action hooks or API endpoints I should use to trigger ticket creation from a form submission.
    2. Example code snippets or step-by-step instructions for configuring the integration.
    3. Any recommended best practices for mapping form fields (subject, description, email, attachments) to SupportCandy ticket fields.

    Thank you in advance for your assistance!

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for your detailed question about integrating with a form builder. This is a great use case, and there are a couple of ways to achieve the integration you’re looking for.

    1. Pre-Built Integration (Premium Add-on): For the simplest, no-code solution, we offer a premium Gravity Forms Integration add-on. If you are using Gravity Forms, this add-on allows you to visually map your form fields (including custom fields and attachments) directly to SupportCandy ticket fields.
    2. Custom Integration (REST API): To build a custom integration with a form builder like Forminator, the correct tool is our REST API, which is available in the core plugin. The REST API is designed for exactly this purpose, allowing you to programmatically create tickets from any third-party source.You can find our complete developer documentation for the REST API here: https://supportcandy.net/docs/authorization/

    While we cannot provide custom code snippets for specific third-party plugins, the documentation provides all the endpoints and examples a developer would need to build this connection. The general process involves using an action hook from your form plugin after submission to make a POST request to our /tickets endpoint.

    I hope this points you in the right direction.

    Best regards,
    Milind Ighe

Viewing 1 replies (of 1 total)

The topic ‘Automatically Create SupportCandy Tickets from Form Submissions’ is closed to new replies.