Alpaca and ChatBotKit Integration
Demonstration of how apps are integrated in WEXTL workflow builder[4]
Automate the handoff between Alpaca and ChatBotKit - your finance events flow into ai actions on a visual canvas your team can read. Set up the workflow once with 3 simple steps in the WEXTL® builder, let AI take smart decisions between apps, and never write a line of glue code again.
- 3-day trial
- Cancel anytime
- Up to 10 minutes quick set up
- GDPR
- Data Encryption
- 2FA
- Local Data Region
Learn about Alpaca and ChatBotKit
Detailed info you need to know about Alpaca and ChatBotKit integrations in WEXTL. Explore which modules apps support and how you connect them.
Alpaca

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

Build and run AI agents: chat with bots, manage datasets, skillsets, contacts and tasks, and watch new conversations in ChatBotKit.[6]
How to connect Alpaca to ChatBotKit
Set up your Alpaca and ChatBotKit integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.
STEP 1
Connect Alpaca and ChatBotKit
Save credentials in WEXTL once. We store them encrypted and reuse the authorization across every workflow[3]. No coding or API skills required.
STEP 2
Build a workflow
Paste selected Alpaca and ChatBotKit nodes onto the canvas[4], or describe what you want and WEXTL wires the flow together with AI Builder.
STEP 3
Map your data
Choose which fields need to sync between Alpaca and ChatBotKit. Use filters or a JS custom code step in between. Everything is on the canvas.
How does the integration between Alpaca and ChatBotKit work in WEXTL?
WEXTL exposes actions and triggers for Alpaca and ChatBotKit 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 triggersChatBotKit 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.
ChatBotKit modules
- Answer Questions About a State Asks a model to answer a list of Questions about a State you describe. Returns the Answers and Usage.
- Attach a File to a Dataset Links an existing file to a dataset. Use Type to say how the file is attached.
- Cancel a Task Stops a task from running on its schedule. Returns the task Id.
- Cancel a Task Execution Aborts a task run that is still in progress and returns its Id and Task Id.
- Compact a Conversation Summarizes the history of a stored conversation and returns the summary Text with Usage.
- Compact Messages into a Summary Summarizes the Messages you send without saving a conversation. Use Bot, Model, Dataset or Skillset to set the configuration it runs with, and read back the Text and Usage.
- Complete a Chat Runs a chat from a list of Messages and replies once, without keeping a conversation. Choose who answers with Bot or Model, not both, and give it abilities and knowledge with Skillset or Dataset. Returns Text, Usage and End.
- Continue a Chat in the Background Queues the next turn of a stored conversation without waiting for the answer. Leave Text empty to continue from the existing conversation state and use Channel Id to deduplicate dispatch requests. Returns the Channel Id.
- Create a Blueprint Adds a blueprint, a container that groups bots, datasets and other resources. Use Visibility to set who can see it and Contact to tie it to a contact.
- Create a Bot Builds a chatbot. Set how it answers with Model, Backstory, Dataset and Skillset, and who can see it with Visibility. Returns the new bot Id.
- Create a Bot Session Opens a session for a bot and returns the Token, Conversation Id and Expires At. Use Session Length (seconds) to set the maximum time the session is open and Messages to include starting messages in the conversation.
- Create a Chat Completion Calls an OpenAI-compatible chat completion for the chosen Model and Messages. Tune it with Temperature, Max Tokens or Extra Settings (JSON). Returns the Choices and Usage.
- Create a Contact Saves a contact that bots and conversations can be tied to. Fill Name, Email, Phone or Fingerprint to identify it, and Nickname or Preferences for details.
- Create a Conversation Starts a conversation tied to a Bot, Contact, Task Id or Space Id, optionally seeded with Messages. Returns the Id with the Messages.
- Create a Conversation Message Adds a message of a given Type and Text to a conversation. Use Entities (JSON) to attach known entities. To get a reply, use Send a Message and Get a Reply.
- Create a Conversation Session Issues a session token tied to one conversation. Use Session Length (seconds) to set its lifetime and read the Token and Expires At from the result.
- Create a Dataset Adds a dataset, the store that bots search. Tune matching with Reranker, Search Minimum Score and Search Max Records.
- Create a Dataset Record Stores a piece of Text in a dataset, with its Source and Meta, so bots can find it later.
- Create a File Registers an empty file record to receive content later through Upload a File. Use Visibility to control who can see it.
- Create a Memory Stores a fact in a memory for a Contact or Bot. Use Expires At to delete it automatically at a set time.
- Create a Secret Stores a secret that skillset abilities can use. Use Kind to make it Shared or Personal, Type for how it authenticates, Value for the secret itself and Config for extra settings.
- Create a Skillset Adds a skillset, a collection of abilities that bots can call. Fill it with Create a Skillset Ability. Use State to enable or disable it and Visibility to set who can see it.
- Create a Skillset Ability Defines a new skillset ability. Use Instruction to describe it, Linked Secret Id, Linked File Id, Linked Bot Id or Linked Space Id to connect the resource it uses, and Linked Computer Id when it runs shell commands.
- Create a Space Adds a storage space for files. Give it an Alias and Name, and link it to a Blueprint or Contact.
- Create a Task Defines an autonomous job for a Bot. Add a Schedule and Timezone to run it on a clock, and cap it with Max Iterations, Max Time or Max Calls.
- Create a Trigger Integration Builds an integration that triggers a bot. Use Schedule to set an interval, cron expression or ISO date, Timezone to evaluate it in, and turn on Authenticate to require authentication.
- Create a User Adds a sub-account user with an Email, Name and Image. Use Limits (JSON) to set limits on the user.
- Create a User Session Issues a session token that acts as one of your users. Returns the Token and Expires At. Pass Config (JSON) for extra settings.
- Create an Extract Integration Sets up an integration that extracts structured data from conversations. Use Schema to define what to extract and Request to send the result to a webhook. Link it to a Bot, Blueprint or Model.
- Delete a Blueprint Removes a blueprint. Turn on Delete Resources to remove what it holds too.
- Delete a Bot Removes a chatbot from your ChatBotKit account.
- Delete a Contact Deletes a contact record from your account.
- Delete a Conversation Removes a conversation from your ChatBotKit history.
- Delete a Conversation Message Deletes one message from the chat history of a conversation.
- Delete a Dataset Removes a dataset from ChatBotKit and returns its Id.
- Delete a Dataset Record Clears one entry inside a dataset.
- Delete a File Deletes a file from your ChatBotKit file storage.
- Delete a Memory Removes one remembered note from your account.
- Delete a Secret Deletes a stored credential secret from your account.
- Delete a Skillset Removes a skillset, the group of abilities that bots call.
- Delete a Skillset Ability Deletes one ability that bots can call.
- Delete a Space Removes a storage space from ChatBotKit.
- Delete a Space File Deletes the file or folder at a Path in a space. Turn on Recursive to remove folders with their contents.
- Delete a Task Deletes a scheduled task from the account.
- Delete a Trigger Integration Removes an integration that starts bots by schedule or outside call.
- Delete a User Deletes a sub-account user from your ChatBotKit account.
- Delete an Extract Integration Removes an extraction integration from ChatBotKit.
- Detach a File from a Dataset Unlinks a file from its dataset. Turn on Delete Records to remove the records that came from the file too.
- Download a File Downloads the content of a stored file and returns it as File with its File Name and Content Type.
- Download a Space File Reads one file at a Path inside a space and returns it as File with its File Name and Content Type.
Explore alternative integrations
There are other apps[9] supported by WEXTL that can be paired with Alpaca and ChatBotKit integrations. Pick any from the list below if the current combination isn't the one you need.
Frequently asked questions
Common questions about connecting Alpaca and ChatBotKit.
References
List of sources used to gather information about the Alpaca and ChatBotKit integration.
- Alpaca and ChatBotKit integration source code, module specs and credentials implementation.
- Our Alpaca and ChatBotKit integration documentation, structured input and output parameters, scopes, and authentication methods.
- Official vendor API documentation for Alpaca and ChatBotKit, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
- WEXTL® visual workflow builder, anonymized data from our technical support team.
- Alpaca integration information
- ChatBotKit integration information
- WEXTL® Scheduling
- WEXTL® Pricing and Trial
- WEXTL® Apps Library
How we write our apps documentation
Explore how WEXTL® crafted Alpaca and ChatBotKit integration page documentation. Used sources, the role of AI, and how the team validates the result.