Sometimes you need to create an additional tag-initiated webhook for ConvertKit, and there’s no easy way to do that directly inside of the ConvertKit interface.
Setting up your First Webhook
Step 1: Configuration Settings
First, make sure you’ve already set up your first webhook inside AccessAlly > General Setup -> CRM Integration: Make sure your API credentials have been entered, then select the tag you want to use to create a new user and click on Create Webhook.
Step 2: Access Rules inside ConvertKit
Go to your list of ConvertKit Rules, and locate the tag + URL that you configured in step 1.
Click on the rule to see what your webhook URL should be:
https://www.yoursite.com/?aal_genpass=######(Your Site URL + AccessAlly Command + Handshake string)
You can use this URL format when creating other Webhooks with the converter, and can find the full list of webhook commands here: Your Guide to HTTP Post / Webhook Commands & When To Use Them.
You have now created the first webhook that will create user accounts and passwords for your clients.
When BatchSync Webhooks Are Required In Your Automations
If you are running multiple users through an online course simultaneously, we recommend that you use the batchsync webhook, to prevent the integration from timing out or becoming overloaded with multiple individual requests.
This section of the tutorial walks you through each step of the process to create your own tag-initiated batchsync webhook for ConvertKit.
Step 1: Create A New Tag
Inside ConvertKit, create a new tag that will be used to trigger the batch sync webhook. (Example tag name: asa_batch_sync)
Step 2: Enter ConvertKit API in Webhook Creator
Step 3: Create The Webhook
Once your API information is saved, new settings will be revealed. In the “Select the trigger tag” area, you can select the tag you created in Step 1 of this tutorial.
If you are not sure what your webhook URL is yet, follow these instructions to use the webhook generator.
Then, change the aal_genpass portion of the URL to aal_batchsync.
Step 4: Create Webhook
Click on the yellow Create Webhook button.
Adding the Webhook To Your ConvertKit Automations
Step 5: Add “Batchsync” tag to CRM Automation
When building your ConvertKit automation, you can now use the aa_batch_sync tag instead of the generate user tag that you configured in AccessAlly’s General Settings area.
Step 6: Add Delay
After you add the aa_batch_sync tag to your ConvertKit automation, make sure to follow it immediately with a delay, so that the function can be run properly.
Step 7: Remove BatchSync tag
Finally, remove the aa_batch_sync tag in your automation so that it can be run again whenever needed.