Alpaca and Daftra Integration

Demonstration of how apps are integrated in WEXTL workflow builder[4]

Connect Alpaca and Daftra to automate finance workflows. Trigger events from one app, run actions in the other and use AI to make smart decisions. Integrate apps in 3 simple steps - no code required.

  • 3-day trial
  • Cancel anytime
  • Up to 10 minutes quick set up
  • GDPR
  • Data Encryption
  • 2FA
  • Local Data Region

Learn about Alpaca and Daftra

Detailed info you need to know about Alpaca and Daftra integrations in WEXTL. Explore which modules apps support and how you connect them.

  • Alpaca

    • Finance
    • 3 triggers
    • 72 searches
    • 21 actions

    Trading and market data API for stocks, options and crypto.[5]

  • Daftra

    • Finance
    • 15 triggers
    • 32 searches
    • 46 actions

    Cloud accounting and ERP suite for invoices, clients, inventory, and business operations.[6]

How to connect Alpaca to Daftra

Set up your Alpaca and Daftra integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.

How does the integration between Alpaca and Daftra work in WEXTL?

WEXTL exposes actions and triggers for Alpaca and Daftra that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.

Alpaca triggersDaftra actions

Alpaca modules

  • Add an Asset to a Watchlist Puts one more Symbol on a watchlist. The updated watchlist is returned with its Name and Assets.
  • Cancel All Orders Cancels every open order in the account once Confirm is turned on. Each canceled order is its own result with its ID and Status.
  • Cancel an Order Cancels one open order and returns its ID.
  • Close a Position Exits an open position in full, or by a Quantity or a Percentage of it. A partial close places a market order, labeled with your Client Order ID.
  • Close All Positions Closes every open position. Turn on Cancel Open Orders First to clear pending orders beforehand, and Confirm to go ahead.
  • Create a Locate Asks Alpaca to locate a Quantity of shares of a Symbol for shorting. Turn on All or None to reject a partial fill and use Limit Price for the highest fee you accept.
  • Create a Multi-Leg Options Order Places one options order across several Legs, each made of a Contract Symbol, Ratio Quantity and Side. The whole order takes a Quantity, Order Type and Time in Force.
  • Create a Watchlist Saves a new watchlist called Name, optionally filled with Symbols.
  • Create a Whitelisted Address Approves a crypto wallet Address for withdrawals of an Asset on a Chain, with optional beneficiary details for the travel rule.
  • Create an Order Submits an order for a Symbol as a market, limit, stop, stop limit or trailing stop. Use Quantity or Notional for the size and Order Class for a bracket, OCO or OTO.
  • Delete a Watchlist Deletes a watchlist and returns its ID.
  • Delete a Whitelisted Address Deletes an approved withdrawal address from the account.
  • Do Not Exercise an Option Position Tells Alpaca to let an option position expire without exercising it, returning its Symbol.
  • Exercise an Option Position Exercises an option position you hold and returns its Symbol with a Success flag.
  • Get a Corporate Action Announcement Fetches one announcement by ID, with its Ca Type, Ca Sub Type, Cash amount and Declaration Date.
  • Get a Crypto Transfer Fetches one wallet transfer, including its Amount, Asset, Chain and Direction.
  • Get a Crypto Transfer Estimate Quotes the Fee and Network Fee of moving an Amount of an Asset between a From Address and a To Address.
  • Get a Locate Reads one locate request by Locate ID and shows its Status, Located Quantity and Total Fee.
  • Get a Logo Downloads the company logo for a Symbol as a File with its Content Type. Turn on Placeholder If Missing to get a stand-in image.
  • Get a Position Shows one open position with its Avg Entry Price and Asset Class.
  • Get a Stock Snapshot Takes a current picture of one Symbol with its Daily Bar, Latest Quote, Latest Trade and Prev Daily Bar.
  • Get a Tokenization Request Fetches one tokenization request by its ID, including what Fees were charged.
  • Get a Tokenization Request by Client Request ID Finds a tokenization request from the Client Request ID that was attached when minting, and shows its full record.
  • Get a Watchlist Opens one watchlist and shows its Name and Assets.
  • Get Account Configurations Reads the trading settings of the account, such as Fractional Trading, Max Margin Multiplier and No Shorting.
  • Get an Asset Looks up an asset by Symbol or Asset ID and returns its Class, Exchange, CUSIP and Borrow Status.
  • Get an Option Chain Snapshots the contracts on an Underlying Symbol, with Greeks, Implied Volatility and the Latest Quote. Narrow by Type, Strike Price From, Strike Price To or Expiration Date.
  • Get an Option Contract Retrieves one contract with its Expiration Date, Close Price and Deliverables.
  • Get an Order Fetches one order by Order ID with its Client Order ID, Created At and Asset Class. Turn on Nest Multi-Leg Orders to show the legs inside it.
  • Get an Order by Client Order ID Finds an order from the Client Order ID you attached when placing it, so a custom reference leads to the full order.
  • Get Latest Crypto Orderbooks Shows the current order book of crypto pairs in a chosen Location, listing Asks and Bids. Use Limit to set the depth.
  • Get Locate Quotes Quotes the Available Quantity and Price of shares you could locate for each of the Symbols.
  • Get Option Condition Codes Looks up what each trade condition code means for a Tick Type on options.
  • Get Option Exchange Codes Lists the exchange codes that appear in options data, so a code can be read as an exchange name.
  • Get Portfolio History Charts account value over time, one row per window with Timestamp, Equity, Profit Loss and Profit Loss Pct. Use Period for a lookback, or Start and End for exact dates, and Timeframe for the window size.
  • Get Stock Auctions Pulls the opening and closing auctions of one ticker from a Start date through to the End. Use Sort to put them in oldest or newest order.
  • Get Stock Bars Reads historical bars of one ticker at the chosen Timeframe, with High, Low, Close and Trade Count. Use Adjustment to account for splits and dividends.
  • Get Stock Condition Codes Explains the condition codes of trades or quotes for a Tick Type on one Tape.
  • Get Stock Exchange Codes Lists the exchange codes that appear in stock data, with the exchange each one stands for.
  • Get Stock Quotes Reads historical bid and ask quotes of one ticker, with Ask Exchange and Ask Price. Use Sort to order them and Start with End to bound the period.
  • Get Stock Trades Reads historical trades of one ticker with Trade ID, Price and Size, across a period from Start to End.
  • Get the Account Pulls the trading account and reports its Account Number, Buying Power and Accrued Fees, along with whether it is blocked.
  • Get the Latest Stock Bar Fetches the newest bar for one Symbol with its High, Low, Close and Trade Count. Switch Feed or Currency for another source or currency.
  • Get the Latest Stock Quote Shows the latest best bid and ask for one Symbol, with Ask Price, Ask Size and Bid Price.
  • Get the Latest Stock Trade Reads the most recent trade of one Symbol, with its Price, Size and Conditions.
  • Get the Market Calendar Lists trading days for a Market from Start to End, with Core Start, Core End and Lunch Start. Use Time Zone to read times in your own zone.
  • Get the Market Clock Shows whether markets are open now, or at a chosen Time, with Phase, Next Market Open and Next Market Close. Use Markets for several codes.
  • List Account Activities Lists account events such as fills and transfers. Filter with Activity Types, Category, Order Id or a Date range using After and Until, and set Direction.
  • List Assets Lists the assets that match Status, Asset Class, Exchange or Attributes.
  • List Corporate Action Announcements Lists announcements of the chosen Types from Since until Until. Add Symbol or CUSIP to follow one security and Date Type to choose which date is matched.

Daftra modules

  • Create a Client Adds a client to Daftra from a Business Name, First Name, Last Name, Email, Password and a Type of Individual or Business. Add a Credit Limit, Credit Period or Starting Balance for the account terms.
  • Create a Client Appointment Books an appointment for a client, with a Client ID, Partner ID and Date. Add an End Date, a Body with the details and a Status of Scheduled, Done or Dismissed. Turn on Recurring to repeat it and Share with Partner to share it.
  • Create a Client Payment Records a payment received from a client. Add the Amount, Payment Method, Currency Code and Date, and use Treasury ID to say which treasury received it. Use Receipt Notes to put text on the receipt.
  • Create a Journal Account Adds an account to the Daftra journal, from a Type of 0 or 1 and a Name. Pair Entity Type with Entity ID to follow a client, supplier or store, or fill Journal Category ID to file it under a category.
  • Create a Note Attaches a note to a Daftra item, with an Item Type, Item ID, Date, Body and Staff ID. A follow-up links through Action ID or Status ID.
  • Create a Product Adds a product to Daftra from its Product Name. Add a Description, Unit Price, Buy Price, Product Code and Barcode, and turn on Track Stock so the Stock Balance is tracked.
  • Create a Stock Transaction Moves stock in or out of a store for a product, with a Product ID, a Transaction Type (IN or OUT) and a Store ID. Add Quantity, Price and a Date, or a Stock Transfer ID for a transfer.
  • Create a Time Tracking Record Logs hours worked by a staff member, with the Staff ID, Project ID, Activity ID and the Time in hours and minutes. Leave Date empty for today, and set a Work Order ID to tie it to a work order.
  • Create a Work Order Opens a work order from a Title and a Start Date. Link a Client ID, set a Delivery Date and Budget with a Budget Currency, or override the auto-generated Work Order Number.
  • Create a Work Order Appointment Schedules an appointment on a work order, using a Client ID, Partner ID, Partner Type and Date. Use Staff ID for the staff user submitting it, Action ID for a follow-up action and Post ID to link a note.
  • Create an Estimate Creates an estimate in a store for one of your clients. Add an Invoice Item for each product line and an Invoice Payment for money already received.
  • Create an Estimate Appointment Puts an appointment on an estimate for a Client ID, Partner ID and Partner Type on a chosen Date. Set Status to Scheduled, Done or Dismissed, and Status Date to when it reached that state.
  • Create an Invoice Issues an invoice for a client in a store. Use Invoice Item to add lines and Payment to record money already received.
  • Create an Invoice Appointment Adds an appointment to an invoice, with an Item ID, Date, Partner Type and Partner ID. Add an End Date, or an Action ID for a follow-up action.
  • Create an Invoice Payment Records a payment against an invoice, giving the Invoice ID, Payment Method and Amount. Set Status to Failed, Completed, Pending or Not Completed, and attach a Transaction ID, Treasury ID or Receipt Notes.
  • Delete a Client Deletes a customer account from Daftra.
  • Delete a Client Appointment Cancels a client appointment that is on the books.
  • Delete a Client Payment Deletes a payment that was recorded against a client.
  • Delete a Journal Account Removes an account from the Daftra journal.
  • Delete a Note Deletes a note that was attached to a Daftra item.
  • Delete a Product Deletes a product from the Daftra catalog.
  • Delete a Stock Transaction Removes a stock movement from your inventory records.
  • Delete a Time Tracking Record Deletes an entry of logged working time.
  • Delete a Work Order Removes a work order from Daftra.
  • Delete a Work Order Appointment Deletes a visit that was booked against a work order for a client.
  • Delete an Estimate Deletes an estimate held in your Daftra account.
  • Delete an Estimate Appointment Removes an appointment attached to an estimate and meant for a client.
  • Delete an Invoice Removes an invoice from the Daftra records.
  • Delete an Invoice Appointment Removes an appointment that is linked to an invoice.
  • Delete an Invoice Payment Removes a payment entry that had been recorded on an invoice.
  • Get a Client Reads the full record of one client from Daftra. Output includes the Business name, Email, Phone 1 and Starting balance.
  • Get a Client Appointment Fetches a single appointment held for a client. Output includes the Date, End date, Status and Partner type.
  • Get a Client Payment Loads one payment recorded for a client. Output includes the Amount, Payment method and Treasury ID.
  • Get a Journal Account Reads a journal account from Daftra, with its Total debit, Total credit and Entity type in the output.
  • Get a Note Fetches a single note, returning its Body together with the Item type and Item ID it belongs to.
  • Get a Product Reads one product from the Daftra catalog. Output includes the Unit price, Buy price, Barcode and Stock balance.
  • Get a Staff Member Reads one staff member of the account. Output includes the Role ID, Hourly rate and Last login.
  • Get a Stock Transaction Returns one stock transaction with its Product ID, Quantity, Balance to date and Transaction type.
  • Get a Time Tracking Record Reads one logged time entry. Output includes the Project ID, Activity ID, Time and Cost.
  • Get a Work Order Loads a work order and shows its Title, Start date, Delivery date and Budget.
  • Get a Work Order Appointment Fetches one appointment booked on a work order. Output includes the Status date and Share with partner.
  • Get an Estimate Reads an estimate in full. Output includes the Client business name, Currency code and Po number.
  • Get an Estimate Appointment Loads the appointment attached to an estimate. Output includes the Body and Recurring appointment ID.
  • Get an Invoice Reads one invoice from Daftra. Output includes the Client email, Store ID and Subscription ID.
  • Get an Invoice Appointment Pulls up the appointment linked to an invoice. Output includes the Action ID and Post ID.
  • Get an Invoice Payment Fetches a payment made against an invoice. Output includes the Invoice ID, Response code and Response message.
  • Get Client Appointments Lists appointments held for clients, each with its Date, End date, Status and Partner ID. Use Limit to cut the result to the first few.
  • Get Client Payments Returns payments recorded for clients, each with an Amount, Payment method and Date. Use Limit to set the maximum number of payments.
  • Get Clients Gets clients from Daftra, with Business name, First name, Last name and Email for each. Use Limit when you only want the first handful.
  • Get Estimate Appointments Shows appointments attached to estimates, each with its Item ID, Action ID and Status date. Use Limit to restrict how many are returned.

Explore alternative integrations

There are other apps[9] supported by WEXTL that can be paired with Alpaca and Daftra integrations. Pick any from the list below if the current combination isn't the one you need.

Automate Alpaca and Daftra on WEXTL®

Claim your 3-day trial to build Alpaca with Daftra integration and access every WEXTL® feature.

Cancel anytime.

Frequently asked questions

Common questions about connecting Alpaca and Daftra.

How do I connect Alpaca and Daftra?

Connect your Alpaca and Daftra accounts once, pick a trigger in one app and an action in the other, then map the fields so data flows automatically between them.[3]

What can I automate between Alpaca and Daftra?

Example: when the "Watch Account Activity" trigger in Alpaca fires, WEXTL can "Create a Client" in Daftra. Alpaca has 3 triggers (including Watch Account Activity, Watch New Fills, and Watch New Orders). Daftra has 78 actions (including Create a Client, Create a Client Appointment, and Create a Client Payment). Add filters and transforms between steps when you need them.[1]

Can Alpaca trigger actions in Daftra, and Daftra in Alpaca?

Yes. The integration works in both directions. Use the triggers of each app to start a workflow and the actions of the other app to update it.[2]

Do I need to write code to integrate Alpaca and Daftra?

No. Alpaca-to-Daftra automations are built visually on the canvas. You can optionally add custom JavaScript with Functions when you need advanced logic.[4]

Does Alpaca integrate with Daftra in real time?

Yes. Trigger-based automations start the moment Alpaca (or Daftra) fires a new event. Webhook-backed apps run within seconds, and polling-only apps re-check on a schedule you control.[7]

How long does it take to set up a Alpaca + Daftra integration?

A first automation typically takes 5–10 minutes: connect the credential of each app once, drop a trigger + action onto the canvas, map the fields, and turn the workflow on.

Do I need a paid plan to connect Alpaca with Daftra?

You can build your Alpaca + Daftra automation on a 3-day trial with every feature unlocked. Cancel anytime.[8]

References

List of sources used to gather information about the Alpaca and Daftra integration.

  1. Alpaca and Daftra integration source code, module specs and credentials implementation.
  2. Our Alpaca and Daftra integration documentation, structured input and output parameters, scopes, and authentication methods.
  3. Official vendor API documentation for Alpaca and Daftra, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
  4. WEXTL® visual workflow builder, anonymized data from our technical support team.
  5. Alpaca integration information
  6. Daftra integration information
  7. WEXTL® Scheduling
  8. WEXTL® Pricing and Trial
  9. WEXTL® Apps Library

How we write our apps documentation

Explore how WEXTL® crafted Alpaca and Daftra integration page documentation. Used sources, the role of AI, and how the team validates the result.

Explore Alpaca and Daftra, or get started