Adding a plugin in Connect
Access Connect Settings
- Log in to your Connect dashboard and navigate to the settings.
Navigate to Chat Settings
- Within the settings menu, find and click on "Chat Settings."
- Under Chat Settings, select the "Plugins" option.
Add Plugin
- Click on the "Add Plugin" button.
Provide Plugin Details
- Give your plugin a name and description to identify its purpose. "Save" to confirm.
Activate Plugin URL
- Click on "Add URL" to activate your plugin.
- Set the request method (GET, POST, etc.) and enter your API URL.
- Make sure the specified URL is valid.
- Before activating the webhook, Connect will send an HTTP HEAD request to the URL to validate it. The webhook will only be activated if Connect receives an HTTP status code 200 as a response.
- Ensure that your webhook endpoint can receive, process, and respond back in standard JSON format as defined by Connect.
Parameter Configuration
- In this section, you can define input and output parameters for your plugin.
- Give each parameter a name and select its type (email, number, string, date, array, etc.).
- After configuring parameters, save the settings.
Test Your Plugin
- Once saved, you can test your plugin to ensure it's functioning correctly.
- Trigger the plugin and observe its behaviour to verify that it's working as expected.