Remove expired Paddle members from a paid Heartbeat group

Remove a member only from the paid Heartbeat group after their Paddle subscription ends and no other subscription covers that product.

25 stepsSalesOperations

Free to start, no card required.

How it works

  1. When this happens

    Receive a subscription cancellation

    Paddle

  2. Step 1 · Code

    Set the paid product and group

  3. Step 2

    Check the cancellation reference

    Follows the first path that matches

    • Subscription reference received

      1. Step 3 · Paddle

        Read the current canceled subscription

      2. Step 4 · Code

        Check product and effective end date

      3. Step 5

        Check the end of paid access

        Follows the first path that matches

        • Paid product has ended

          1. Step 6 · Paddle

            Read the billing account’s member link

          2. Step 7 · Code

            Verify the customer’s member identity

          3. Step 8

            Check the linked member

            Follows the first path that matches

            • Customer has a verified member link

              1. Step 9 · Heartbeat

                Read the paid community group

              2. Step 10 · Heartbeat

                Read the linked community member

              3. Step 11 · Code

                Verify the paid group and member

              4. Step 12

                Check current group access

                Follows the first path that matches

                • Verified member is in the paid group

                  1. Step 13 · Paddle

                    Recheck the billing identity

                  2. Step 14 · Code

                    Check for a changed billing account

                  3. Step 15

                    Check the current account link

                    Follows the first path that matches

                    • Account still matches this member

                      1. Step 16 · Paddle

                        Read all customer subscriptions

                      2. Step 17 · Code

                        Check for other paid entitlements

                      3. Step 18

                        Check for remaining product access

                        Follows the first path that matches

                        • No other subscription covers the group

                          1. Step 19 · Heartbeat

                            Recheck current email and membership

                          2. Step 20 · Code

                            Confirm the member still needs removal

                          3. Step 21

                            Check the member before removal

                            Follows the first path that matches

                            • Paid group is still assigned

                              1. Step 22 · Heartbeat

                                Remove access to the paid group

                              2. Step 23 · Heartbeat

                                Recheck the member after group removal

                              3. Step 24 · Code

                                Confirm the paid group was removed

                            • Otherwise

                              Nothing happens

                        • Otherwise

                          Nothing happens

                    • Otherwise

                      Nothing happens

                • Otherwise

                  Nothing happens

            • Otherwise

              Nothing happens

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Use one Paddle customer per Heartbeat member and store the verified Heartbeat member UUID as heartbeat_member_id in the customer’s custom data from your billing backend. Enter the Paddle product ID and its dedicated Heartbeat group ID, with all access to that group billed through that product. Check the member email matches the billing account and give the connections permission to read subscriptions and remove members from that group.

Accounts to connect

See all 144 in Sales

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template