# Facebook Lead Ads + MemberArea Integrations: Connect with Zapier MCP
> zapier.com/apps/facebook-lead-ads/integrations/memberarea
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Facebook Lead Ads and MemberArea in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · addMemberToGroup`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "memberarea", owner: "me" });

const { data } = await zapier.runAction({
  app: "memberarea",
  actionType: "write",
  action: "addMemberToGroup",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action memberarea write addMemberToGroup \
  --inputs '{}'
```

## Facebook Lead Ads

### Identity
Facebook lead ads make signing up for business information easy for people and more valuable for businesses. The Facebook lead ad app is useful for marketers who want to automate actions on their leads.

- App slug: facebook-lead-ads
- Operations published here: 2 (1 event, 1 function)

### Authentication
Zapier connects to Facebook Lead Ads via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection facebook-lead-ads
```

### Capabilities

#### Events (1)

Events fire when something happens in Facebook Lead Ads. Use them to start a run.

##### New Lead
Triggers when a new lead is created.

- Type: read · Key: `lead`
- Requires: page
- Optional: FBLA_copy, form, conversions_copy
- SDK: `runAction({ app: "facebook-lead-ads", actionType: "read", action: "lead" })`
- CLI: `npx zapier-sdk run-action facebook-lead-ads read lead`

#### Functions (1)

Functions change something in Facebook Lead Ads.

##### Send Funnel Event
Publishes lead updates from your funnel to Meta Conversions API.

- Type: write · Key: `send_funnel_event`
- Requires: business, event_destination, lifecycle_stage_name, lead_event_source
- Optional: conversions_api_help, event_timestamp, customer_info_help, lead_id, email, phone_number, fbc, custom_data_help, value, currency, content_id, content_name, content_category, additional_data, test_event_code
- SDK: `runAction({ app: "facebook-lead-ads", actionType: "write", action: "send_funnel_event" })`
- CLI: `npx zapier-sdk run-action facebook-lead-ads write send_funnel_event`

## MemberArea

### Identity
MemberArea is an all-in-one platform for memberships, courses, community, payments and affiliate programs.

- App slug: memberarea
- Operations published here: 119 (33 events, 64 functions, 20 queries, 2 search-or-write actions)

### Authentication
Zapier connects to MemberArea via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection memberarea
```

### Capabilities

#### Events (33)

Events fire when something happens in MemberArea. Use them to start a run.

##### Affiliate Commission Created
Triggers when an affiliate commission is created.

- Type: read · Key: `affiliateCommissionCreated`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "affiliateCommissionCreated" })`
- CLI: `npx zapier-sdk run-action memberarea read affiliateCommissionCreated`

##### Affiliate Payout Paid
Triggers when an affiliate payout is marked paid.

- Type: read · Key: `affiliatePayoutPaid`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "affiliatePayoutPaid" })`
- CLI: `npx zapier-sdk run-action memberarea read affiliatePayoutPaid`

##### Automation Step
Triggers when a MemberArea automation reaches a Send to Zapier step. No webhook URL needed.

- Type: read · Key: `automationStep`
- Requires: nothing
- Optional: stepName
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "automationStep" })`
- CLI: `npx zapier-sdk run-action memberarea read automationStep`

##### Badge Earned
Triggers when a member earns a community badge.

- Type: read · Key: `badgeEarned`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "badgeEarned" })`
- CLI: `npx zapier-sdk run-action memberarea read badgeEarned`

##### Course Completed
Triggers when a member completes a course.

- Type: read · Key: `courseCompleted`
- Requires: nothing
- Optional: courseUuid
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "courseCompleted" })`
- CLI: `npx zapier-sdk run-action memberarea read courseCompleted`

##### Event Attendance Recorded
Triggers when a member is checked in at (attends) an event.

- Type: read · Key: `eventAttendanceRecorded`
- Requires: nothing
- Optional: eventUuid
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "eventAttendanceRecorded" })`
- CLI: `npx zapier-sdk run-action memberarea read eventAttendanceRecorded`

##### Invoice Paid
Triggers when an invoice is issued and paid.

- Type: read · Key: `invoicePaid`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "invoicePaid" })`
- CLI: `npx zapier-sdk run-action memberarea read invoicePaid`

##### Lesson Completed
Triggers when a member completes a lesson.

- Type: read · Key: `lessonCompleted`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "lessonCompleted" })`
- CLI: `npx zapier-sdk run-action memberarea read lessonCompleted`

##### Member Field Changed
Triggers when a member custom-field value changes.

- Type: read · Key: `memberFieldChanged`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "memberFieldChanged" })`
- CLI: `npx zapier-sdk run-action memberarea read memberFieldChanged`

##### Member Leveled Up
Triggers when a member reaches a new community level.

- Type: read · Key: `memberLeveledUp`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "memberLeveledUp" })`
- CLI: `npx zapier-sdk run-action memberarea read memberLeveledUp`

##### Member Logged In
Triggers when a member logs in.

- Type: read · Key: `memberLoggedIn`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "memberLoggedIn" })`
- CLI: `npx zapier-sdk run-action memberarea read memberLoggedIn`

##### New Community Post
Triggers when a new community post is published.

- Type: read · Key: `newCommunityPost`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newCommunityPost" })`
- CLI: `npx zapier-sdk run-action memberarea read newCommunityPost`

##### New Contact
Triggers when a new audience contact is created.

- Type: read · Key: `newContact`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newContact" })`
- CLI: `npx zapier-sdk run-action memberarea read newContact`

##### New Course
Triggers when a new course is created.

- Type: read · Key: `newCourse`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newCourse" })`
- CLI: `npx zapier-sdk run-action memberarea read newCourse`

##### New Event
Triggers when a new event is created.

- Type: read · Key: `newEvent`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newEvent" })`
- CLI: `npx zapier-sdk run-action memberarea read newEvent`

##### New Event Registration
Triggers when a member registers for an event.

- Type: read · Key: `newEventRegistration`
- Requires: nothing
- Optional: eventUuid
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newEventRegistration" })`
- CLI: `npx zapier-sdk run-action memberarea read newEventRegistration`

##### New Group
Triggers when a new group is created.

- Type: read · Key: `newGroup`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newGroup" })`
- CLI: `npx zapier-sdk run-action memberarea read newGroup`

##### New Hub
Triggers when a new hub page is created.

- Type: read · Key: `newHub`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newHub" })`
- CLI: `npx zapier-sdk run-action memberarea read newHub`

##### New Inbox Message
Triggers when a new inbound inbox message arrives.

- Type: read · Key: `newInboxMessage`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newInboxMessage" })`
- CLI: `npx zapier-sdk run-action memberarea read newInboxMessage`

##### New Member
Triggers when a new member signs up.

- Type: read · Key: `newMember`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newMember" })`
- CLI: `npx zapier-sdk run-action memberarea read newMember`

##### New Product
Triggers when a new product is added to the catalog.

- Type: read · Key: `newProduct`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newProduct" })`
- CLI: `npx zapier-sdk run-action memberarea read newProduct`

##### New Subscription
Triggers when a subscription is created.

- Type: read · Key: `newSubscription`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newSubscription" })`
- CLI: `npx zapier-sdk run-action memberarea read newSubscription`

##### New Tag
Triggers when a new tag is created.

- Type: read · Key: `newTag`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newTag" })`
- CLI: `npx zapier-sdk run-action memberarea read newTag`

##### New Ticket
Triggers when a support ticket is created.

- Type: read · Key: `newTicket`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "newTicket" })`
- CLI: `npx zapier-sdk run-action memberarea read newTicket`

##### Order Paid
Triggers when an order is paid.

- Type: read · Key: `orderPaid`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "orderPaid" })`
- CLI: `npx zapier-sdk run-action memberarea read orderPaid`

##### Order Payment Failed
Triggers when an order payment is declined, including a payment that fails after it was booked as paid.

- Type: read · Key: `orderPaymentFailed`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "orderPaymentFailed" })`
- CLI: `npx zapier-sdk run-action memberarea read orderPaymentFailed`

##### Order Payment Pending
Triggers when a delayed payment such as SEPA Direct Debit or Klarna is authorised and still settling.

- Type: read · Key: `orderPaymentPending`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "orderPaymentPending" })`
- CLI: `npx zapier-sdk run-action memberarea read orderPaymentPending`

##### Refund Created
Triggers when a refund is issued.

- Type: read · Key: `refundCreated`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "refundCreated" })`
- CLI: `npx zapier-sdk run-action memberarea read refundCreated`

##### Subscription Cancelled
Triggers when a subscription is cancelled.

- Type: read · Key: `subscriptionCancelled`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "subscriptionCancelled" })`
- CLI: `npx zapier-sdk run-action memberarea read subscriptionCancelled`

##### Subscription Payment Failed
Triggers when a subscription payment fails (past due).

- Type: read · Key: `subscriptionPaymentFailed`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "subscriptionPaymentFailed" })`
- CLI: `npx zapier-sdk run-action memberarea read subscriptionPaymentFailed`

##### Subscription Renewed
Triggers when a subscription renews (recurring payment).

- Type: read · Key: `subscriptionRenewed`
- Requires: nothing
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "subscriptionRenewed" })`
- CLI: `npx zapier-sdk run-action memberarea read subscriptionRenewed`

##### Tag Added to Member
Triggers when a tag is added to a member.

- Type: read · Key: `tagAddedToMember`
- Requires: nothing
- Optional: tagId
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "tagAddedToMember" })`
- CLI: `npx zapier-sdk run-action memberarea read tagAddedToMember`

##### Tag Removed From Member
Triggers when a tag is removed from a member.

- Type: read · Key: `tagRemovedFromMember`
- Requires: nothing
- Optional: tagId
- SDK: `runAction({ app: "memberarea", actionType: "read", action: "tagRemovedFromMember" })`
- CLI: `npx zapier-sdk run-action memberarea read tagRemovedFromMember`

#### Functions (64)

Functions change something in MemberArea.

##### Add Member to Group
Adds a member to a group.

- Type: write · Key: `addMemberToGroup`
- Requires: group, member
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "addMemberToGroup" })`
- CLI: `npx zapier-sdk run-action memberarea write addMemberToGroup`

##### Add Tag to Contact
Attaches a tag to an audience contact.

- Type: write · Key: `addTagToContact`
- Requires: contactUuid, tagId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "addTagToContact" })`
- CLI: `npx zapier-sdk run-action memberarea write addTagToContact`

##### Add Tag to Member
Attaches a tag to a member.

- Type: write · Key: `addTagToMember`
- Requires: memberId, tagId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "addTagToMember" })`
- CLI: `npx zapier-sdk run-action memberarea write addTagToMember`

##### Add Note to Ticket
Adds an internal note to a support ticket.

- Type: write · Key: `addTicketNote`
- Requires: ticketUuid, body
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "addTicketNote" })`
- CLI: `npx zapier-sdk run-action memberarea write addTicketNote`

##### Assign Member to Affiliate
Assigns a member to an affiliate so future payments credit that affiliate.

- Type: write · Key: `assignAffiliateClaim`
- Requires: memberId, affiliate_code
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "assignAffiliateClaim" })`
- CLI: `npx zapier-sdk run-action memberarea write assignAffiliateClaim`

##### Assign Role to Member
Assigns a member role. Admin and owner ranks cannot be assigned via the API.

- Type: write · Key: `assignRoleToMember`
- Requires: memberId, role
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "assignRoleToMember" })`
- CLI: `npx zapier-sdk run-action memberarea write assignRoleToMember`

##### Award Badge to Member
Awards a community badge to a member.

- Type: write · Key: `awardBadgeToMember`
- Requires: badgeUuid, memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "awardBadgeToMember" })`
- CLI: `npx zapier-sdk run-action memberarea write awardBadgeToMember`

##### Cancel Event Registration
Cancels a member's registration for an event.

- Type: write · Key: `cancelEventRegistration`
- Requires: eventUuid, memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "cancelEventRegistration" })`
- CLI: `npx zapier-sdk run-action memberarea write cancelEventRegistration`

##### Check in Member at Event
Checks a member in at an event.

- Type: write · Key: `checkInAtEvent`
- Requires: eventUuid, memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "checkInAtEvent" })`
- CLI: `npx zapier-sdk run-action memberarea write checkInAtEvent`

##### Create Affiliate
Turns a member, or a new person by email, into an affiliate with their own referral code.

- Type: write · Key: `createAffiliate`
- Requires: nothing
- Optional: memberId, email, first_name, last_name, language, code, parent_code, send_welcome_mail
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createAffiliate" })`
- CLI: `npx zapier-sdk run-action memberarea write createAffiliate`

##### Create Community Area
Creates a community area.

- Type: write · Key: `createCommunityArea`
- Requires: name
- Optional: description
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createCommunityArea" })`
- CLI: `npx zapier-sdk run-action memberarea write createCommunityArea`

##### Create Community Badge
Creates a community badge.

- Type: write · Key: `createCommunityBadge`
- Requires: name
- Optional: description, icon
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createCommunityBadge" })`
- CLI: `npx zapier-sdk run-action memberarea write createCommunityBadge`

##### Create Community Comment
Adds a comment to a community post.

- Type: write · Key: `createCommunityComment`
- Requires: post, content
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createCommunityComment" })`
- CLI: `npx zapier-sdk run-action memberarea write createCommunityComment`

##### Create Community Forum
Creates a forum inside a community area.

- Type: write · Key: `createCommunityForum`
- Requires: area_uuid, name
- Optional: description
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createCommunityForum" })`
- CLI: `npx zapier-sdk run-action memberarea write createCommunityForum`

##### Create Community Post
Publishes a post in a community forum.

- Type: write · Key: `createCommunityPost`
- Requires: forum_uuid, content
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createCommunityPost" })`
- CLI: `npx zapier-sdk run-action memberarea write createCommunityPost`

##### Create Contact
Adds a contact to your audience. Provide at least an email or a first name.

- Type: write · Key: `createContact`
- Requires: nothing
- Optional: email, first_name, last_name, phone, website, language, status, custom_fields
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createContact" })`
- CLI: `npx zapier-sdk run-action memberarea write createContact`

##### Create Global Field
Creates a business-wide global field whose value is available as a placeholder across emails and pages.

- Type: write · Key: `createGlobalField`
- Requires: name, type
- Optional: value, description
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createGlobalField" })`
- CLI: `npx zapier-sdk run-action memberarea write createGlobalField`

##### Create Group
Creates a new group.

- Type: write · Key: `createGroup`
- Requires: name
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createGroup" })`
- CLI: `npx zapier-sdk run-action memberarea write createGroup`

##### Create Login Link
Creates a single-use link that signs a member straight in. Send it in an email or a chat message. It does not work for admins of your business.

- Type: write · Key: `createLoginLink`
- Requires: memberId
- Optional: to, expires_in_minutes
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createLoginLink" })`
- CLI: `npx zapier-sdk run-action memberarea write createLoginLink`

##### Create Member
Adds a new member to your MemberArea.

- Type: write · Key: `createMember`
- Requires: first_name, last_name, email
- Optional: language
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createMember" })`
- CLI: `npx zapier-sdk run-action memberarea write createMember`

##### Create Tag
Creates a new tag.

- Type: write · Key: `createTag`
- Requires: name
- Optional: color
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createTag" })`
- CLI: `npx zapier-sdk run-action memberarea write createTag`

##### Create Ticket
Creates an internal support ticket.

- Type: write · Key: `createTicket`
- Requires: title
- Optional: description, status, priority, assignee, memberId, conversation, due_at
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "createTicket" })`
- CLI: `npx zapier-sdk run-action memberarea write createTicket`

##### Custom API Request
Makes a raw authenticated call to any MemberArea API v1 endpoint. Use this to reach endpoints that do not yet have a dedicated action.

- Type: write · Key: `customApiRequest`
- Requires: http_method, path
- Optional: query, body, raw_body
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "customApiRequest" })`
- CLI: `npx zapier-sdk run-action memberarea write customApiRequest`

##### Delete Community Area
Deletes a community area.

- Type: write · Key: `deleteCommunityArea`
- Requires: area
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteCommunityArea" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteCommunityArea`

##### Delete Community Badge
Deletes a community badge.

- Type: write · Key: `deleteCommunityBadge`
- Requires: badge
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteCommunityBadge" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteCommunityBadge`

##### Delete Community Comment
Deletes a community comment.

- Type: write · Key: `deleteCommunityComment`
- Requires: comment
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteCommunityComment" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteCommunityComment`

##### Delete Community Forum
Deletes a community forum.

- Type: write · Key: `deleteCommunityForum`
- Requires: forum
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteCommunityForum" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteCommunityForum`

##### Delete Community Post
Deletes a community post.

- Type: write · Key: `deleteCommunityPost`
- Requires: post
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteCommunityPost" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteCommunityPost`

##### Delete Contact
Deletes an audience contact.

- Type: write · Key: `deleteContact`
- Requires: contactUuid
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteContact" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteContact`

##### Delete Global Field
Permanently deletes a global field.

- Type: write · Key: `deleteGlobalField`
- Requires: fieldId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteGlobalField" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteGlobalField`

##### Delete Group
Deletes a group.

- Type: write · Key: `deleteGroup`
- Requires: id
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteGroup" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteGroup`

##### Remove Member
Removes a member from your MemberArea (the underlying user account is preserved).

- Type: write · Key: `deleteMember`
- Requires: memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteMember" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteMember`

##### Delete Tag
Deletes a tag.

- Type: write · Key: `deleteTag`
- Requires: tagId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteTag" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteTag`

##### Delete Ticket
Deletes a support ticket.

- Type: write · Key: `deleteTicket`
- Requires: ticketUuid
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "deleteTicket" })`
- CLI: `npx zapier-sdk run-action memberarea write deleteTicket`

##### Enroll Member in Course
Grants a member access to a course.

- Type: write · Key: `enrollInCourse`
- Requires: courseUuid, memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "enrollInCourse" })`
- CLI: `npx zapier-sdk run-action memberarea write enrollInCourse`

##### Grant Product Access
Gives a member everything a bundle unlocks: its courses, hubs, groups, calendars, events, forums and badges. Use it after a sale in another shop.

- Type: write · Key: `grantProductAccess`
- Requires: memberId, bundleUuid
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "grantProductAccess" })`
- CLI: `npx zapier-sdk run-action memberarea write grantProductAccess`

##### Mark Course Complete for Member
Marks an entire course as completed for a member.

- Type: write · Key: `markCourseComplete`
- Requires: memberId, courseUuid
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "markCourseComplete" })`
- CLI: `npx zapier-sdk run-action memberarea write markCourseComplete`

##### Mark Lesson Complete for Member
Marks a single lesson as completed for a member.

- Type: write · Key: `markLessonComplete`
- Requires: courseUuid, lessonUuid, memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "markLessonComplete" })`
- CLI: `npx zapier-sdk run-action memberarea write markLessonComplete`

##### Redeem Member Reward
Consumes part of a member's redeemable affiliate reward balance.

- Type: write · Key: `redeemReward`
- Requires: memberId, amount, currency, idempotency_key
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "redeemReward" })`
- CLI: `npx zapier-sdk run-action memberarea write redeemReward`

##### Register Affiliate Conversion
Records an external sale and credits affiliate commissions.

- Type: write · Key: `registerConversion`
- Requires: affiliate_code, amount, currency, idempotency_key
- Optional: tax_amount, customer_email, product_uuid, occurred_at, is_test
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "registerConversion" })`
- CLI: `npx zapier-sdk run-action memberarea write registerConversion`

##### Register Member for Event
Registers a member for an event.

- Type: write · Key: `registerForEvent`
- Requires: eventUuid, memberId
- Optional: status, comment
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "registerForEvent" })`
- CLI: `npx zapier-sdk run-action memberarea write registerForEvent`

##### Remove Affiliate Claim
Removes a member's affiliate claim.

- Type: write · Key: `removeAffiliateClaim`
- Requires: memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "removeAffiliateClaim" })`
- CLI: `npx zapier-sdk run-action memberarea write removeAffiliateClaim`

##### Remove Member From Group
Removes a member from a group.

- Type: write · Key: `removeMemberFromGroup`
- Requires: group, member
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "removeMemberFromGroup" })`
- CLI: `npx zapier-sdk run-action memberarea write removeMemberFromGroup`

##### Remove Tag From Contact
Detaches a tag from an audience contact.

- Type: write · Key: `removeTagFromContact`
- Requires: contactUuid, tagId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "removeTagFromContact" })`
- CLI: `npx zapier-sdk run-action memberarea write removeTagFromContact`

##### Remove Tag From Member
Detaches a tag from a member.

- Type: write · Key: `removeTagFromMember`
- Requires: memberId, tagId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "removeTagFromMember" })`
- CLI: `npx zapier-sdk run-action memberarea write removeTagFromMember`

##### Reply to Conversation
Sends an outbound message on an inbox conversation's channel.

- Type: write · Key: `replyToConversation`
- Requires: conversationUuid, body
- Optional: message_type, attachment_url, attachment_name, mark_done
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "replyToConversation" })`
- CLI: `npx zapier-sdk run-action memberarea write replyToConversation`

##### Reset Course Progress for Member
Resets a member's progress in a course back to zero.

- Type: write · Key: `resetCourseProgress`
- Requires: memberId, courseUuid
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "resetCourseProgress" })`
- CLI: `npx zapier-sdk run-action memberarea write resetCourseProgress`

##### Revoke Badge From Member
Revokes a community badge from a member.

- Type: write · Key: `revokeBadgeFromMember`
- Requires: badgeUuid, memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "revokeBadgeFromMember" })`
- CLI: `npx zapier-sdk run-action memberarea write revokeBadgeFromMember`

##### Revoke Product Access
Takes away what a bundle unlocked for a member, for example after a refund or a cancellation in another shop.

- Type: write · Key: `revokeProductAccess`
- Requires: memberId, bundleUuid
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "revokeProductAccess" })`
- CLI: `npx zapier-sdk run-action memberarea write revokeProductAccess`

##### Set Global Field Value
Sets only the value of a global field. Ideal for pushing an external value into a placeholder used across your emails and pages.

- Type: write · Key: `setGlobalFieldValue`
- Requires: fieldId
- Optional: value
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "setGlobalFieldValue" })`
- CLI: `npx zapier-sdk run-action memberarea write setGlobalFieldValue`

##### Set Member Custom Field
Sets a member's value for a custom field.

- Type: write · Key: `setMemberCustomField`
- Requires: memberId, fieldId
- Optional: value
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "setMemberCustomField" })`
- CLI: `npx zapier-sdk run-action memberarea write setMemberCustomField`

##### Trigger Automation
Starts a run of a published automation with an optional payload.

- Type: write · Key: `triggerAutomation`
- Requires: automationUuid
- Optional: payload, memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "triggerAutomation" })`
- CLI: `npx zapier-sdk run-action memberarea write triggerAutomation`

##### Unenroll Member From Course
Revokes a member's access to a course.

- Type: write · Key: `unenrollFromCourse`
- Requires: courseUuid, memberId
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "unenrollFromCourse" })`
- CLI: `npx zapier-sdk run-action memberarea write unenrollFromCourse`

##### Update Community Area
Updates a community area.

- Type: write · Key: `updateCommunityArea`
- Requires: area
- Optional: name, description
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateCommunityArea" })`
- CLI: `npx zapier-sdk run-action memberarea write updateCommunityArea`

##### Update Community Badge
Updates a community badge.

- Type: write · Key: `updateCommunityBadge`
- Requires: badge
- Optional: name, description, icon
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateCommunityBadge" })`
- CLI: `npx zapier-sdk run-action memberarea write updateCommunityBadge`

##### Update Community Comment
Updates a community comment's content.

- Type: write · Key: `updateCommunityComment`
- Requires: comment, content
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateCommunityComment" })`
- CLI: `npx zapier-sdk run-action memberarea write updateCommunityComment`

##### Update Community Forum
Updates a community forum (rename, edit, or move to another area).

- Type: write · Key: `updateCommunityForum`
- Requires: forum
- Optional: name, description, area_uuid
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateCommunityForum" })`
- CLI: `npx zapier-sdk run-action memberarea write updateCommunityForum`

##### Update Community Post
Updates a community post's content.

- Type: write · Key: `updateCommunityPost`
- Requires: post, content
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateCommunityPost" })`
- CLI: `npx zapier-sdk run-action memberarea write updateCommunityPost`

##### Update Contact
Updates an audience contact's details.

- Type: write · Key: `updateContact`
- Requires: contactUuid
- Optional: email, first_name, last_name, phone, website, language, status, custom_fields
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateContact" })`
- CLI: `npx zapier-sdk run-action memberarea write updateContact`

##### Update Conversation
Changes an inbox conversation's status, priority or assignee.

- Type: write · Key: `updateConversation`
- Requires: conversationUuid
- Optional: status, priority, assigned_user
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateConversation" })`
- CLI: `npx zapier-sdk run-action memberarea write updateConversation`

##### Update Global Field
Updates a global field's name, value or description.

- Type: write · Key: `updateGlobalField`
- Requires: fieldId
- Optional: name, value, description
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateGlobalField" })`
- CLI: `npx zapier-sdk run-action memberarea write updateGlobalField`

##### Update Group
Renames a group.

- Type: write · Key: `updateGroup`
- Requires: id, name
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateGroup" })`
- CLI: `npx zapier-sdk run-action memberarea write updateGroup`

##### Update Member
Updates an existing member's details.

- Type: write · Key: `updateMember`
- Requires: memberId
- Optional: first_name, last_name, email, language
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateMember" })`
- CLI: `npx zapier-sdk run-action memberarea write updateMember`

##### Update Ticket
Updates a support ticket.

- Type: write · Key: `updateTicket`
- Requires: ticketUuid
- Optional: title, description, status, priority, assignee, due_at
- SDK: `runAction({ app: "memberarea", actionType: "write", action: "updateTicket" })`
- CLI: `npx zapier-sdk run-action memberarea write updateTicket`

#### Queries (20)

Queries read from MemberArea and return data. They change nothing.

##### Find Affiliate by Code
Finds the affiliate behind a referral code, with their member and their sponsor.

- Type: search · Key: `findAffiliateByCode`
- Requires: code
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findAffiliateByCode" })`
- CLI: `npx zapier-sdk run-action memberarea search findAffiliateByCode`

##### Find Automation
Finds an automation by name.

- Type: search · Key: `findAutomation`
- Requires: nothing
- Optional: search
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findAutomation" })`
- CLI: `npx zapier-sdk run-action memberarea search findAutomation`

##### Find Affiliate Commission
Lists affiliate commissions, optionally filtered by affiliate code.

- Type: search · Key: `findCommission`
- Requires: nothing
- Optional: affiliate_code
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findCommission" })`
- CLI: `npx zapier-sdk run-action memberarea search findCommission`

##### Find Contact
Finds an audience contact by email or name.

- Type: search · Key: `findContact`
- Requires: search
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findContact" })`
- CLI: `npx zapier-sdk run-action memberarea search findContact`

##### Find Conversation
Finds inbox conversations, optionally filtered by status.

- Type: search · Key: `findConversation`
- Requires: nothing
- Optional: status
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findConversation" })`
- CLI: `npx zapier-sdk run-action memberarea search findConversation`

##### Find Global Field
Finds a global field by name and returns its current value.

- Type: search · Key: `findGlobalField`
- Requires: nothing
- Optional: search
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findGlobalField" })`
- CLI: `npx zapier-sdk run-action memberarea search findGlobalField`

##### Find Member
Finds a member by exact email address, or by part of the name.

- Type: search · Key: `findMember`
- Requires: search
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findMember" })`
- CLI: `npx zapier-sdk run-action memberarea search findMember`

##### Find Member by Email
Finds a single member by exact email address. Put it in front of an action that needs an existing member.

- Type: search · Key: `findMemberByEmail`
- Requires: email
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findMemberByEmail" })`
- CLI: `npx zapier-sdk run-action memberarea search findMemberByEmail`

##### Find Order
Finds orders, optionally filtered by status. Returns the most recent matches.

- Type: search · Key: `findOrder`
- Requires: nothing
- Optional: status
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findOrder" })`
- CLI: `npx zapier-sdk run-action memberarea search findOrder`

##### Find Product
Finds products, optionally filtered by type.

- Type: search · Key: `findProduct`
- Requires: nothing
- Optional: type
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findProduct" })`
- CLI: `npx zapier-sdk run-action memberarea search findProduct`

##### Find Subscription
Finds subscriptions, optionally filtered by status.

- Type: search · Key: `findSubscription`
- Requires: nothing
- Optional: status
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findSubscription" })`
- CLI: `npx zapier-sdk run-action memberarea search findSubscription`

##### Find Ticket
Finds support tickets, optionally filtered by status or priority.

- Type: search · Key: `findTicket`
- Requires: nothing
- Optional: status, priority
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "findTicket" })`
- CLI: `npx zapier-sdk run-action memberarea search findTicket`

##### Get Member Affiliate Claim
Looks up which affiliate a member is assigned to, if any. Returns nothing if unclaimed.

- Type: search · Key: `getAffiliateClaim`
- Requires: memberId
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "getAffiliateClaim" })`
- CLI: `npx zapier-sdk run-action memberarea search getAffiliateClaim`

##### List Affiliate Commissions
Lists affiliate commissions, optionally filtered by status, affiliate code or test mode. Returns the most recent matches with full commission detail.

- Type: search · Key: `getAffiliateCommissions`
- Requires: nothing
- Optional: status, affiliate_code, is_test
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "getAffiliateCommissions" })`
- CLI: `npx zapier-sdk run-action memberarea search getAffiliateCommissions`

##### Get Contact by ID
Fetches a full audience contact by its UUID.

- Type: search · Key: `getContact`
- Requires: contactUuid
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "getContact" })`
- CLI: `npx zapier-sdk run-action memberarea search getContact`

##### List Course Members
Lists members enrolled in a course, with their progress.

- Type: search · Key: `getCourseMembers`
- Requires: courseUuid
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "getCourseMembers" })`
- CLI: `npx zapier-sdk run-action memberarea search getCourseMembers`

##### Get Global Field
Reads a single global field and its current value.

- Type: search · Key: `getGlobalField`
- Requires: fieldId
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "getGlobalField" })`
- CLI: `npx zapier-sdk run-action memberarea search getGlobalField`

##### Get Member by ID
Fetches a full member record by its UUID.

- Type: search · Key: `getMember`
- Requires: memberId
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "getMember" })`
- CLI: `npx zapier-sdk run-action memberarea search getMember`

##### List Member Course Progress
Lists every course a member is enrolled in, with progress.

- Type: search · Key: `getMemberCourses`
- Requires: memberId
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "getMemberCourses" })`
- CLI: `npx zapier-sdk run-action memberarea search getMemberCourses`

##### Get Member Reward Balance
Looks up a member's redeemable affiliate reward balance per currency (minor units).

- Type: search · Key: `getRewardBalance`
- Requires: memberId
- SDK: `runAction({ app: "memberarea", actionType: "search", action: "getRewardBalance" })`
- CLI: `npx zapier-sdk run-action memberarea search getRewardBalance`

#### Search or Write Actions (2)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Contact
Finds an audience contact by email or name, or creates one when there is no match.

- Type: search_or_write · Key: `findContact`
- Requires: search
- Optional: email, first_name, last_name, phone, website, language, status, custom_fields
- SDK: `runAction({ app: "memberarea", actionType: "search_or_write", action: "findContact" })`
- CLI: `npx zapier-sdk run-action memberarea search_or_write findContact`

##### Find or Create Member
Finds a member by exact email address, or creates one when nobody has that address.

- Type: search_or_write · Key: `findMemberByEmail`
- Requires: email, first_name, last_name
- Optional: language
- SDK: `runAction({ app: "memberarea", actionType: "search_or_write", action: "findMemberByEmail" })`
- CLI: `npx zapier-sdk run-action memberarea search_or_write findMemberByEmail`

## Frequently asked questions about automating with Facebook Lead Ads and MemberArea

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Facebook Lead Ads integrations: zapier.com/apps/facebook-lead-ads/integrations.md
- MemberArea integrations: zapier.com/apps/memberarea/integrations.md
- Full page: zapier.com/apps/facebook-lead-ads/integrations/memberarea
- SDK: npmjs.com/package/@zapier/zapier-sdk