> Connect Kajabi with Public API credentials to grant buyers a Kajabi offer when they pay, revoke it on refund, and tag them as contacts.

Source: https://plandalf.com/docs/automations/kajabi

Automations

# Kajabi

Connect your Kajabi site so buyers from a Plandalf checkout get the Kajabi offer they paid for. A sequence can grant the offer on purchase, revoke it on refund, and tag buyers as Kajabi contacts. To put a Plandalf checkout on a Kajabi page, see [Kajabi](https://plandalf.com/docs/websites/kajabi) under websites.

**Before you start**

You need a Kajabi plan that includes the Public API, Owner or Subowner access, and the offers and tags you want to use already created in Kajabi. Kajabi has no triggers in Plandalf.

## Get your Kajabi credentials

Plandalf needs a **Client ID**, a **Client Secret** and your **Site ID**.

1.  ### Open the Public API settings
    
    In Kajabi, go to **Settings → Public API**.
    
2.  ### Create a key
    
    Click **Create User API Key**, name it "Plandalf", and give it access to read and edit contacts and offers and to read tags.
    
3.  ### Copy the client ID and secret
    
    Copy the client ID and client secret for the key. They aren't the API key and secret Kajabi gives you for Zapier.
    
4.  ### Find your Site ID
    
    While signed in to Kajabi, your Site ID is the number after `/admin/sites/` in the address bar.
    

## Connect Kajabi

In Plandalf, open **Automations → Marketplace** and click **Connect** on Kajabi. Paste the **Client ID**, **Client Secret** and **Site ID**, then click **Connect**. Plandalf signs in to Kajabi straight away to check them.

## Steps you can add

Step

What it does

Fields

**Grant Offer**

Gives someone a Kajabi offer, creating the contact if needed. Kajabi unlocks every product in the offer and runs its own automations.

Email Address, Offer (both required), Name, Send Kajabi welcome email

**Revoke Offer**

Takes an offer away, for example on refund. Skipped when they aren't in Kajabi or don't have the offer.

Email Address, Offer (both required)

**Find or Create Contact**

Finds a contact by email or creates one. Returns `contact_id`.

Email Address (required), Contact Name

**Find or Create Contact with Tags**

Finds or creates the contact and applies tags in one step. It doesn't give access to an offer.

Email Address (required), First Name, Last Name, Tags

**Create Contact Tag**

Applies tags to a contact you already have the ID for.

Tags, Contact ID (both required)

**Send Kajabi welcome email** is on by default, so new customers get Kajabi's email with their login link. Turn it off if you send your own.

The tag steps only apply tags that already exist in Kajabi. Kajabi's API can't create tags. Pick tags from the list, or type a name; put names with spaces in double quotes.

New contacts are created as subscribed to your Kajabi emails, so only send buyers who agreed to hear from you.

## Example: grant an offer on purchase

1.  ### Set the trigger
    
    Create a sequence with **Plandalf → Checkout Completed** and pick your checkout.
    
2.  ### Grant the offer
    
    Add **Kajabi → Grant Offer**. Set **Email Address** to `{{trigger.customer_email}}`, **Name** to `{{trigger.customer_name}}`, and pick the **Offer**.
    
3.  ### Test and turn it on
    
    Testing grants a real offer, so use your own email. Then turn the sequence on.
    

To revoke the offer on refund, use the [Remove access on refund](https://plandalf.com/docs/automations/templates#remove-access-on-refund) template.

## Common errors

What you see

What to do

Authentication fails

Use the client ID and secret from **Settings → Public API**, not your Zapier key, and check the Site ID.

"Selected Kajabi tag no longer exists"

The tag was deleted in Kajabi. Pick another tag in the step.

Something wrong or missing? Email [hello@plandalf.com](mailto:hello@plandalf.com).
