> Connect Circle to add buyers to your community and its spaces, remove them from a space on refund, and start a sequence when someone joins.

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

Automations

# Circle

Connect your Circle community so a sequence can invite buyers, add them to a paid space and take them out of it on refund. A new Circle member can also start a Plandalf sequence.

**Before you start**

You need admin access to a Circle community on a plan with API access, and the spaces you sell already created in Circle.

## Get a Circle API token

1.  ### Open the tokens page
    
    In Circle, open **Developers → Tokens**. Only community admins see it.
    
2.  ### Create a V1 token
    
    Create a token named "Plandalf" with the type **Admin V1**, and copy it. Plandalf uses Circle's Admin API v1 (`app.circle.so/api/v1`), so an Admin V2 token won't work.
    

## Connect Circle

1.  ### Open Circle in the Marketplace
    
    In Plandalf, open **Automations → Marketplace** and click **Connect** on Circle.
    
2.  ### Paste the token
    
    Paste it into **API Key**. Leave **Community ID** blank unless your token can see more than one community; then enter the ID of the one to use. Click **Connect**.
    

Plandalf checks the token with Circle straight away. If it can see several communities, the message lists each one with its ID, so you can copy the right one into **Community ID**.

## Steps you can add

Step

What it does

Fields

**Find or Create Member**

Finds a member by email, or invites them. New members get Circle's invitation email.

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

**Add Member to Space**

Adds an existing member to a space.

Email Address or Member ID, Space (required)

**Remove Member from Space**

Removes a member from a space, for example on refund. They stay in your community.

Email Address (required), Space (required)

**Update Member Fields**

Updates profile fields such as `name`, `headline`, `bio` or `location`.

Member ID (required), Fields (required)

**Add Member to Space** needs the person in your community already, so put **Find or Create Member** before it. **First Name** and **Last Name** fill the name when **Name** is blank. **Find or Create Member** returns `member_id`, which **Update Member Fields** needs. **Remove Member from Space** is skipped when the email isn't in Circle.

## Start a sequence when someone joins

The **Member Created** trigger runs when a new member joins. Pick a **Space** to run only for members of that space, or leave it blank. Circle has no API for webhooks, so you connect this one by hand:

1.  ### Copy the URL
    
    Save the trigger. On **2\. Config**, **Send Circle events to this URL** shows the address. Click **Copy**.
    
2.  ### Create a Circle workflow
    
    In Circle, open **Workflows**, create an automation workflow and choose the trigger for a member joining your community.
    
3.  ### Send it to Plandalf
    
    Add the **Send to webhook** action and paste the URL. That action needs Circle's Enterprise plan. On other plans, send the same request from a Zapier or Make step.
    
4.  ### Test it
    
    Turn the workflow on, add a test member, then pick the event on the trigger's **3\. Test** tab.
    

The trigger gives later steps `member_id`, `email`, `name`, `first_name`, `last_name`, `headline` and `spaces`.

## Example: buyers join your members space

1.  ### Set the trigger
    
    Create a sequence with **Plandalf → Checkout Completed** and pick the checkout that includes community access.
    
2.  ### Invite them
    
    Add **Circle → Find or Create Member** with **Email Address** `{{trigger.customer_email}}` and **Name** `{{trigger.customer_name}}`.
    
3.  ### Add them to the space
    
    Add **Circle → Add Member to Space** with the same email and your members-only space.
    
4.  ### Test and turn it on
    
    Testing invites a real member, so use your own email. Then turn the sequence on.
    

To take refunded buyers out of the space, add the [Remove access on refund](https://plandalf.com/docs/automations/templates#remove-access-on-refund) template and pick the same space.

## Common errors

What you see

What to do

"This Circle API token can see more than one community"

Copy the right ID from the message into **Community ID** on the connection.

Authentication fails

Check the token is an **Admin V1** token from **Developers → Tokens**.

**Add Member to Space** fails for a new buyer

Add **Find or Create Member** before it.

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