Facebook Lead Ads and OTO Integration
Demonstration of how apps are integrated in WEXTL workflow builder[4]
Connect Facebook Lead Ads to OTO on visual integration builder following simple steps below. When social media event fired from Facebook Lead Ads, it will run actions inside OTO app - exactly how you set them in your commerce automation. No coding skills required.
- 3-day trial
- Cancel anytime
- Up to 10 minutes quick set up
- GDPR
- Data Encryption
- 2FA
- Local Data Region
Learn about Facebook Lead Ads and OTO
Detailed info you need to know about Facebook Lead Ads and OTO integrations in WEXTL. Explore which modules apps support and how you connect them.
Facebook Lead Ads

Manages Facebook lead gen forms and retrieves Instant Form leads on a Page.[5]
OTO

Shipping gateway and order management for online stores.[6]
How to connect Facebook Lead Ads to OTO
Set up your Facebook Lead Ads and OTO integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.
STEP 1
Connect Facebook Lead Ads and OTO
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 Facebook Lead Ads and OTO 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 Facebook Lead Ads and OTO. Use filters or a JS custom code step in between. Everything is on the canvas.
How does the integration between Facebook Lead Ads and OTO work in WEXTL?
WEXTL exposes actions and triggers for Facebook Lead Ads and OTO 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.
Facebook Lead Ads triggersOTO actions
Facebook Lead Ads modules
- Check Lead Access Finds out whether a Facebook user may download leads for a Page. Add a User ID to test someone other than the verified user, and an App ID to test access for one app.
- Create a Lead Form Creates a form that collects leads on a Page. Give it a Name and the Questions in display order, set the Locale, and turn on Optimized For Quality to add a review step. Returns the new Id.
- Create a Test Lead Creates a sample submission for a lead gen form that has no test lead yet. Use Field Data to fill in the answers. Returns the new Id.
- Delete a Test Lead Deletes one test lead of a lead gen form.
- Get a Lead Reads one submitted lead, including its Custom Disclaimer Responses. Use Fields to choose which values to read, adding the disclaimer field when you need those answers.
- Get a Lead Form Reads one lead gen form with its Name, Status, Locale and Questions. Use Fields to add more form values to the result.
- List Lead Forms Gets the forms owned by a Page, each with its Id, Name, Status and Locale. Set Limit to bound the total read across all result pages.
- List Leads Collects the leads submitted on one form. Set Created After and Created Before to keep a date range, and Fields to choose the values read for each lead.
- List Leads by Ad Lists the leads that came in through a single ad, found by Ad ID from Ads Manager. Use Created After to skip older leads and Limit to cap how many leads are read.
- List Page Subscribed Apps Shows which apps are installed on a Page to receive webhook events, each with its Name and Subscribed Fields.
- List Test Leads Returns the sample leads sitting on a form, along with the Ad Id of each. Use Limit to shorten the output.
- Make an API Call Makes an authorized free-form request to the Facebook Lead Ads REST API with your saved credential.
- Update a Lead Form Switches a form between archived and active by changing its Status. Output includes Success.
- Watch New Leads Starts the workflow the moment someone submits a lead on your Page, through a Facebook webhook. Output includes the webhook Object and Entry.
OTO modules
- Activate a Carrier Activates a carrier under a Delivery Option Name with the Settings it needs, such as its account details, which are masked in logs (needs the Starter plan or higher).
- Activate Sales Channel Connects or disconnects a sales channel using the Store URL and an Admin API Access Token, which is masked in logs.
- Assign a Driver Assigns OTO FLEX orders to a driver, who is named by Driver ID or Driver Email, and shows the result for each order (needs the Starter plan or higher).
- Buy Credit Starts a wallet top-up for an Amount and gives a payment link to finish it. A server error is not retried, so check the wallet before running it again.
- Cancel a Shipment Cancels the shipment of an order, optionally for one Shipment ID. Without a Confirm choice the request never goes out.
- Cancel an Order Cancels an order that has no shipment yet, found by Order ID or by the OTO ID. An order with a shipment cannot be canceled this way.
- Check Contract Rates Prices a parcel across your own carrier contracts, with Total Due for cash on delivery. It uses the same route and size fields as the public rates (needs the Starter plan or higher).
- Check Coverage Tells whether OTO covers a place, located by coordinates or by city, for branch pickup, courier delivery and bullet delivery (needs the Starter plan or higher).
- Check Inventory Stock Reads the forecast and on-hand stock of SKUs, split by location (needs the Starter plan and the WMS add-on).
- Check Shipping Rates Prices a parcel by Weight and size between an Origin City and a Destination City across the carriers that OTO offers.
- Check the Availability of an Order Checks where an order can be fulfilled and lists the matching locations. Rule IDs pick specific rules in place of the default set (needs the Pro plan or higher).
- Check the Global Stock Reads the stock of SKUs summed over all locations of the account (needs the Starter plan and the WMS add-on).
- Create a Box Defines a box size by Name, Length, Width and Height for packing.
- Create a Brand Adds a brand with a Store Name, a Logo and a Default Warehouse ID, and can attach stores that sit on a sales channel (needs the Starter plan or higher).
- Create a Pickup Location Adds a warehouse or a branch with a Code, a Name, an address and contact details, plus an optional serving radius and short address code.
- Create a Product Adds a product with a Product Name and SKU, plus price, barcodes, category and custom attributes. Use Packaging Material to mark packing supplies.
- Create a Return Shipment Books a return shipment for an order with the Items that are sent back, a Pickup Location and a Delivery Option. Check the order in OTO before booking it a second time.
- Create a Shipment Books a carrier shipment for an order through a Delivery Option, which can cost money. If the call fails, look the order up in OTO before another attempt.
- Create an Inventory Order Creates an inbound or outbound inventory order for a Location Code with its Items, a waybill number and the dates (needs the Starter plan and the WMS add-on).
- Create an Order Creates an order in OTO with its customer, items and package size, and optionally books the shipment at once through Create Shipment. A server error is not retried, so check OTO before running it again.
- Get a Delivery Estimation Estimates delivery times between an origin and a destination address from the carrier settings and the SLA method, such as city based (needs the Scale plan or higher).
- Get a National Address Resolves a Saudi short address code into its full national address.
- Get a Return Link Gives the link where a customer can start a return of an order (needs the Starter plan or higher).
- Get AI Delivery Estimates Predicts delivery dates for a parcel by route and size, with Include Estimated Dates turned on for the dates themselves (needs the Scale plan or higher).
- Get an Order AWB Gives the link to the air waybill of an order. Choose Print Return AWB for the return shipment and International Proforma for the proforma invoice.
- Get an Order Delivery Fee Gives the delivery fee that each carrier would charge for an order that already exists in OTO.
- Get COD Transactions Shows the current balance, the amount withdrawn and the upcoming transfer for cash collected on delivery, plus its wallet transactions.
- Get Order Details Fetches an order with its tracking link, package weight, carrier, origin city, amount and the documents attached to it.
- Get Order History Reads the status history of orders, with an entry for each change.
- Get Order Status Reads the current state of an order with its tracking link, carrier, tracking number and air waybill link.
- Get Return Details Shows the return of an order with its reason, status, source and the items sent back.
- Get the Account Info Shows the OTO account behind the credential, with its remaining credit, free shipments, package name and document status.
- Get the Config of a Carrier Reads the settings that a carrier needs before it can be activated, with an example JSON of the values (needs the Starter plan or higher).
- Get the Config of a Sales Channel Reads the store address, name and active state saved for a sales channel. The admin token is masked and left out.
- Get the Marketplace Client Info Reads the name, email, phone, credit and validity date of a marketplace sub-account (needs a marketplace account).
- Hold Order Parks an order without canceling it, so it stays in OTO until it is released again. The reference publishes no further inputs.
- List Available Cities Shows the cities that OTO delivers to, with their Arabic names. Use City Limit to cut the list short.
- List Available Time Slots Shows the delivery time slots on offer for a Service Type and Package Size at a place with a Latitude and Longitude (needs the Starter plan or higher).
- List Boxes Shows the packing boxes that were defined, each with its name, length, width and height.
- List Brands Retrieves the brands of the account, each with its store name, warehouse and logo (needs the Starter plan or higher).
- List Carrier Branches Returns the pickup points that a carrier runs in a country.
- List Carriers Returns the carriers that OTO can connect to, each with its name and code.
- List Cities Returns one page of the cities of a Country that OTO knows, with the state of each city.
- List Credit Transactions Retrieves the wallet credit movements between two dates, 50 rows per request.
- List Delivery Options Retrieves the delivery options active on the account, each with its name and ID. The ID goes into orders and shipments (needs the Starter plan or higher).
- List Order Customer Notifications Returns the notifications that were sent to the customer of an order, one entry for each action taken (needs the Scale plan or higher).
- List Orders Retrieves the orders newest first, 50 per request, optionally narrowed by Status and a date range.
- List Packing Orders Lists the orders of one warehouse that are ready to be packed, with a count (needs the Starter plan and the WMS add-on).
- List Pickup Cities Shows the cities where store pickup is available, which feed the store pickup flow (needs the Starter plan and the WMS add-on).
- List Pickup Locations Shows warehouses and branches together, each marked with its kind, and narrows them by date or Status.
No ready-made Facebook Lead Ads and OTO automation yet. Describe your own in the AI Workflow Builder.
Build a Facebook Lead Ads and OTO workflow with AI
Describe your automation with Facebook Lead Ads and OTO - and our AI Workflow Builder will make it done for you.
Explore alternative integrations
There are other apps[9] supported by WEXTL that can be paired with Facebook Lead Ads and OTO integrations. Pick any from the list below if the current combination isn't the one you need.
Frequently asked questions
Common questions about connecting Facebook Lead Ads and OTO.
References
List of sources used to gather information about the Facebook Lead Ads and OTO integration.
- Facebook Lead Ads and OTO integration source code, module specs and credentials implementation.
- Our Facebook Lead Ads and OTO integration documentation, structured input and output parameters, scopes, and authentication methods.
- Official vendor API documentation for Facebook Lead Ads and OTO, 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.
- Facebook Lead Ads integration information
- OTO integration information
- WEXTL® Scheduling
- WEXTL® Pricing and Trial
- WEXTL® Apps Library
How we write our apps documentation
Explore how WEXTL® crafted Facebook Lead Ads and OTO integration page documentation. Used sources, the role of AI, and how the team validates the result.