Connect Sweeppea with Dokaai

Bring Sweeppea into your notification workflows.

Connect through n8n to use supported Dokaai actions alongside your existing tools.

Sweeppea logo
Dokaai logo

About Sweeppea

Run sweepstakes end to end with the Sweeppea API: participants, winners, codes, messaging, surveys, rules and more

What you can automate

Use n8n to connect Sweeppea events to Dokaai actions. Available events and fields depend on the app.

Workflow ideas

Count participants in Sweeppea Send a Dokaai notification

Choose a notification handler and map the required fields in n8n.

Create a participant in Sweeppea Send a Dokaai notification

Choose a notification handler and map the required fields in n8n.

Delete a participant in Sweeppea Send a Dokaai notification

Choose a notification handler and map the required fields in n8n.

These are workflow ideas, not prebuilt templates. Required data and configuration vary by trigger.

Sweeppea operations on n8n

Explore the triggers, actions, and searches available for Sweeppea in n8n. Availability and required fields depend on your account.

Actions

117

Tasks your workflow can perform.

  • Count participants

    Count participants in a sweepstake with optional filters

  • Create a participant

    Create a new participant in a sweepstake

  • Delete a participant

    Delete a participant from a sweepstake

  • Get a participant

    Fetch a single participant by token, email or phone

  • Get sweepstake form fields

    Get the entry form fields for a sweepstake

+112 more actions
  • Get many participants

    Fetch many participants from a sweepstake

  • Update bonus entries of a participant

    Set (overwrite, not add) the bonus entries of a participant

  • Create a rule

    Create an official rules document for a sweepstake

  • Create rules with the wizard

    Generate official rules from the structured 14-step wizard answers

  • Delete a rules document

    Permanently delete a rules document. Cannot be undone.

  • Get many rules documents

    List the rules documents of a sweepstake

  • Update a rules document

    Change the title or the HTML content of a rules document

  • Clone a sweepstake

    Duplicate an existing sweepstake with new dates and handler

  • Create a sweepstake

    Create a new sweepstake

  • Delete a sweepstake

    Permanently delete a sweepstake and ALL its data (participants, pages, rules, groups, codes). Cannot be undone.

  • Get many sweepstakes

    Fetch all sweepstakes for the authenticated account

  • Pause a sweepstake

    Pause an active sweepstake

  • Unpause a sweepstake

    Reactivate a paused sweepstake

  • Update a sweepstake

    Update an existing sweepstake name or dates

  • Delete a scheduled drawing

    Cancel and delete a scheduled winner drawing

  • Draw winners

    Draw winners from a sweepstake using weighted random selection

  • Get many winners

    Fetch winners previously drawn from a sweepstake

  • Get scheduled drawings

    List the scheduled drawings of a sweepstake

  • Schedule a drawing

    Schedule an automatic winner drawing, optionally recurring

  • Get business info

    Retrieve the business information of the account

  • Get plan details

    Retrieve the subscription plan with limits, pricing and enabled modules (requires a wildcard API domain)

  • Get profile

    Retrieve the profile and status of the authenticated user

  • Check API health

    Verify that the API is up and the API key is valid

  • Get consumptions

    Monthly and yearly consumption totals

  • Get data transfer logs

    Data transfer billing logs of a sweepstake

  • Get billing transactions

    Every billing transaction of the account

  • Get wallet transactions

    Every wallet credit and debit of the account

  • Create a calendar event

    Create a calendar event (not in the past)

  • Delete a calendar event

    Permanently delete a calendar event

  • Get a calendar event

    Retrieve one calendar event

  • Get many calendar events

    Every calendar event of the account

  • Update a calendar event

    Change an existing calendar event

  • Cancel a campaign

    Cancel an unfinished campaign and release its held allowance. Cannot be undone.

  • Get a campaign

    One campaign in full: content, audience, sender, counters and allowed actions

  • Get many campaigns

    List email and SMS campaigns, newest first

  • Get campaign recipients

    Who a campaign went to and what happened to each message

  • Get a campaign report

    Delivery report: counters, rates, errors, sends per hour and top links

  • Pause a campaign

    Stop a queued or sending campaign

  • Resume a campaign

    Resume a paused campaign (every blocker is re-checked first)

  • Assign a code to a participant

    Assign one available code to a participant of the same sweepstake who holds no code yet

  • Create codes

    Import 1 to 1,000 existing codes (from a POS, a CRM or a printed batch)

  • Delete codes

    Delete 1 to 1,000 codes nobody holds yet. Assigned, redeemed and voided codes are skipped.

  • Generate codes

    Generate 1 to 5,000 unique random codes

  • Get a code

    Fetch one code by its token, or by the code a customer presented (point of sale)

  • Get many codes

    List the codes of a sweepstake with the participant each one is assigned to

  • Get code settings

    Read how the sweepstake hands out codes on its entry and AMOE pages

  • Get code statistics

    Count total, assigned, unassigned, redeemed, voided and available codes

  • Redeem a code

    Mark a code as redeemed (exactly once), by token or by the code a customer presented

  • Send a code to its participant

    Email and/or text an assigned code to the participant who holds it

  • Unassign a code

    Take a code back from its participant (clears any redemption)

  • Unredeem a code

    Reverse a redemption made by mistake (keeps the assignment)

  • Update a code

    Change the attributes of one code (the code itself only while unassigned)

  • Update code settings

    Change how the sweepstake hands out codes

  • Get a drip campaign

    One drip in full: every step with its delay and content, audience and settings

  • Get drip enrollments

    Contacts enrolled in a drip, where each one is and why anyone left

  • Get many drip campaigns

    List drip campaigns with status, counters and plan allowance

  • Get a drip report

    Statistics per step, in total, day by day, and clicked links

  • Pause a drip campaign

    No new contact is enrolled and no step is sent until resumed

  • Remove a contact from a drip

    Take one contact out of a drip so it receives no more steps

  • Resume a drip campaign

    Resume a drip you paused, if nothing changed since

  • Get entry page form fields

    The form fields of the entry page (exact names to use when adding participants)

  • Get entry page settings

    Every setting of the entry page: texts, opt-ins, age gate, AMOE, widgets, branding

  • Update entry page settings

    Change 1 to 5 entry page settings per call (partial update)

  • Delete a file

    Permanently delete a file from Sweeppea Drive. Cannot be undone.

  • Download a file

    Download a Drive file into an n8n binary property (through a short-lived URL)

  • Get many files

    List Drive files, newest first

  • Get a file URL

    Get a short-lived presigned URL to preview or download a file

  • Send a file by email

    Email a Drive file as an attachment (max 5 MB) with the Sweeppea template

  • Upload a file

    Upload a file from an n8n binary property (max 10 MB; PDF, Office, TXT, CSV and images)

  • Create a group

    Create a participant group (names are unique per sweepstake)

  • Delete a group

    Delete an empty group. Primary, locked and non-empty groups cannot be deleted.

  • Get many groups

    List every participant group of a sweepstake

  • Rename a group

    Rename a participant group

  • Create an invoice

    Create an invoice from a recipient and line items. Totals are computed server-side; the recipient is never emailed.

  • Delete an invoice

    Permanently delete an invoice and its event trail. Cannot be undone.

  • Get an invoice

    One invoice in full: items, totals, payment link, QR code, views and timeline

  • Get many invoices

    List invoices with pending, paid and overdue totals

  • Update an invoice

    Edit a draft or pending invoice, publish it (Status Pending) or cancel it

  • Get messaging usage

    Module access, monthly email and SMS allowance, sender readiness and any sending pause

  • Send a message to a participant

    Queue an email and/or SMS to one of your participants (the recipient is a Participant Token, never a free address)

  • Create a note

    Create an encrypted note (titles are unique per user)

  • Delete a note

    Permanently delete a note

  • Get a note

    Retrieve one note with its decrypted content

  • Get many notes

    Every note of the authenticated user

  • Update a note

    Change the title, content or pinned state of a note

  • Get US area codes

    US telephone area codes with their state and region (max 10 results)

  • Get countries

    Every country with its ISO code

  • Get API documentation

    Retrieve Sweeppea documentation articles, useful as context for AI agents

  • Get timezones

    Every supported timezone with its ID (used by scheduled drawings)

  • Get US states

    Every US state with its code

  • Get US zip codes

    Search US zip code data

  • Add addresses to the suppression list

    Add up to 500 addresses of one channel to the do-not-contact list (idempotent)

  • Get many suppressions

    List every address that unsubscribed, replied STOP, complained, bounced or was added by you

  • Remove an address from the suppression list

    Remove one address you added by hand (a recipient's own opt-out is never removable)

  • Create a survey

    Create a survey with its whole question set in one call

  • Delete a survey

    Permanently delete a survey with its questions, responses and statistics. Cannot be undone.

  • Get a survey

    One survey with its complete question set

  • Get many surveys

    List surveys with question, page and response counters and their public link

  • Get a survey report

    Funnel, completion rate, device breakdown, timeline and per-question distributions

  • Get survey responses

    Individual answers, newest first

  • Update a survey

    Rename, (de)activate or archive a survey. Questions can be replaced only while it has no responses.

  • Create a support ticket

    Open a support ticket with the Sweeppea team

  • Delete a support ticket

    Permanently delete a support ticket

  • Get a support ticket

    One ticket with its notes and history

  • Get closed support tickets

    List closed or resolved tickets

  • Get open support tickets

    List open tickets

  • Resolve a support ticket

    Mark a ticket as resolved

  • Update a support ticket

    Change the title or description of a ticket

  • Create a to-do

    Add a task to the to-do list

  • Delete a to-do

    Permanently delete a task (admin API keys only)

  • Get many to-dos

    List tasks with optional filters

  • Update a to-do

    Change a task, mark it completed or set its progress (admin API keys only)

HOW IT WORKS

How to connect

Connect Sweeppea and Dokaai in a few steps.

Choose your apps

Open your n8n instance and add the Sweeppea and Dokaai nodes to a workflow.

Connect your accounts

Connect your accounts and choose an available trigger. Install any required community nodes if needed.

Set up your workflow

Choose a Dokaai action, map the required fields, and test your workflow.

Frequently asked questions