Skip to content

About

Crossly for Make.com: custom app with instant triggers for sales, orders, offers and stock, plus listing, inventory and order modules.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Crossly for Make

CI Release License: MIT

A Make (formerly Integromat) custom app for Crossly, the multi-marketplace crossposting platform for resellers: list once, sell on eBay, Poshmark, Mercari, Depop, Vinted, Grailed, Whatnot and more.

With it, a Make scenario can:

  • react instantly when a sale is detected, an order is created, ships or is delivered, a refund or return happens, a listing is published, repriced or delisted, stock changes, an offer or a buyer message arrives, or a marketplace connection drops;
  • crosspost, edit and delist listings, create and update inventory, set stock across marketplaces, add tracking to orders, respond to offers;
  • search listings, inventory, orders, sales and offers (paged automatically).

Every endpoint, field and event name comes from the public Crossly OpenAPI spec and the webhook event catalog. API docs: https://crossly.net/docs.

What is in this repo

makecomapp.json          manifest: every component and its code files (Make Apps Editor format)
src/base.imljson         base URL https://crossly.net/api, Bearer auth, error + 429 handling, log sanitising
src/connections/crossly  Personal Access Token connection, validated with GET /v1/me
src/modules/*            actions, searches, instant triggers, universal module
src/webhooks/*           one dedicated webhook per Crossly event (attach / detach)
src/rpcs/*               dynamic pickers (listings, inventory items, orders, pending offers)
src/groups.json          module grouping in the Make UI
scripts/generate.mjs     regenerates src/ + makecomapp.json from the OpenAPI spec
scripts/validate.mjs     zero-dependency structural validator (runs in CI)

Install (import into your Make account)

Make has no "upload a zip" for custom apps; an app is created in your Make organization and its code is deployed component by component. Two ways:

A. Make Apps Editor for VS Code (recommended)

  1. In Make, open Profile -> API access and create a Make API key with the apps:read and apps:write scopes.

  2. Install the Make Apps Editor extension in VS Code and add your Make environment (for example eu1.make.com or us1.make.com) with that key.

  3. In the extension's Custom Apps panel, create a new app (name crossly, label Crossly). This gives the app its ID in your organization.

  4. Clone this repo (or unzip a release), open the folder in VS Code and add an origins entry to makecomapp.json that points at your new app:

    "origins": [
      { "label": "Make", "baseUrl": "https://eu1.make.com", "appId": "<your app id, e.g. crossly-a1b2c3>", "appVersion": 1, "apikeyFile": ".secrets/apikey" }
    ]

    Put your Make API key in .secrets/apikey (ignored by git).

  5. Right-click makecomapp.json -> Deploy to Make. The extension creates every connection, webhook, module and RPC listed in the manifest and uploads its code. (Re-run it to update.)

B. By hand in the Make web UI

  1. Custom Apps -> Create a new app, name crossly.
  2. Paste src/base.imljson into Base, src/groups.json into Groups.
  3. Connections -> Create, type Basic, name crossly: paste crossly.communication.imljson into Communication and crossly.params.imljson into Parameters.
  4. Webhooks -> Create one per folder in src/webhooks/ (type Dedicated, connection crossly), pasting Communication, Parameters, Attach and Detach.
  5. RPCs and Modules likewise: the module type, label, description, connection and webhook are in makecomapp.json; paste each *.communication, *.static-params, *.mappable-params, *.interface and *.samples file into the tab of the same name.

Connect your Crossly account

  1. In Crossly, open Settings -> API & webhooks and create a Personal Access Token (crossly_pat_...). Grant only the scopes your scenarios need: listings:read/listings:write, inventory:read/inventory:write, orders:read/orders:write, sales:read, and webhooks:read/webhooks:write for the instant triggers.
  2. Add any Crossly module to a scenario, click Add next to Connection and paste the token. Make verifies it with GET /v1/me and labels the connection with your account email. The token is stored by Make as a password field and is masked in logs.

Use an instant trigger

  1. Add, for example, Crossly -> Watch sale detected as the first module and pick the connection. Make creates a webhook URL and the app registers it with Crossly (POST /v1/webhooks with events: ["sale.detected"]). It appears in Crossly under Settings -> API & webhooks -> Webhooks.
  2. Click Run once, then in Crossly press Send test on that endpoint, or call POST /v1/webhooks/{id}/test with {"event":"sale.detected"} to send a realistic sample marked "test": true.
  3. Map Data fields into the next modules. Deleting the webhook in Make removes the Crossly endpoint (DELETE /v1/webhooks/{id}).

Modules

Module Name Type Endpoint operationId
Get my account getAccount action GET /v1/me getMe
Get a listing getListing action GET /v1/listings/{id} getListing
Create a listing (crosspost) createListing action POST /v1/listings createListing
Update a listing updateListing action PATCH /v1/listings/{id} updateListing
Delist a listing delistListing action DELETE /v1/listings/{id} deleteListing
Search listings searchListings search GET /v1/listings listListings
Get an inventory item getInventoryItem action GET /v1/inventory/{id} getInventory
Create an inventory item createInventoryItem action POST /v1/inventory createInventory
Update an inventory item updateInventoryItem action PATCH /v1/inventory/{id} updateInventory
Set stock setStock action POST /v1/inventory/bulk-quantity createInventoryBulkQuantity
Search inventory searchInventory search GET /v1/inventory listInventory
Get an order getOrder action GET /v1/orders/{id} getOrder
Update an order updateOrder action PATCH /v1/orders/{id} updateOrder
Add tracking to an order addTracking action POST /v1/orders/{id}/tracking createOrderTracking
Search orders searchOrders search GET /v1/orders listOrders
List sales searchSales search GET /v1/sales listSales
List offers searchOffers search GET /v1/offers getOffer
Respond to an offer respondToOffer action POST /v1/offers/{id}/respond createOfferRespond
Make an API call makeApiCall universal any -

Instant triggers

Each trigger owns a dedicated Make webhook. Turning the scenario on registers a Crossly webhook (POST /v1/webhooks, operationId createWebhook) for that one event; deleting the Make webhook removes it (DELETE /v1/webhooks/{id}, deleteWebhook).

Trigger Name Crossly event Fires when
Watch sale detected watchSaleDetected sale.detected A new sale was detected on any platform.
Watch order created watchOrderCreated order.created An order was created from a sale.
Watch buyer address available watchOrderAddressAvailable order.address_available The buyer's shipping address arrived after the order was created: name, address and phone, ready to ship.
Watch order shipped watchOrderShipped order.shipped The order shipped: marked shipped, or the carrier's first in-network scan. Once per order.
Watch order delivered watchOrderDelivered order.delivered The carrier reports the package delivered.
Watch order cancelled watchOrderCancelled order.cancelled An order was cancelled before it shipped.
Watch order refunded watchOrderRefunded order.refunded An order was refunded, in full or in part: the amount, the running total and whether anything is left.
Watch refund issued watchRefundIssued refund.issued A refund was issued on a platform.
Watch return requested watchReturnRequested return.requested A Crossly-marketplace buyer asked to return an order: the reason, their note and photos.
Watch return resolved watchReturnResolved return.resolved A return request closed: refunded in full or in part, no refund, or withdrawn by the buyer.
Watch listing created watchListingCreated listing.created A listing was published on a platform.
Watch price changed watchListingPriceChanged listing.price_changed A listing price changed, from any path: editor, repricer, API or bulk edit.
Watch listing delisted watchListingDelisted listing.delisted A platform listing came down, on request or reported gone by the marketplace.
Watch stock changed watchInventoryQuantityChanged inventory.quantity_changed An item's stock changed, from any path (a sale, a cancellation, a return, an edit, the API): the counts after the change, and soldOut when none are left.
Watch offer received watchOfferReceived offer.received A buyer made an offer.
Watch offer accepted watchOfferAccepted offer.accepted An offer was accepted, by you or an auto-respond rule.
Watch offer declined watchOfferDeclined offer.declined An offer was declined.
Watch offer countered watchOfferCountered offer.countered An offer was countered.
Watch message received watchMessageReceived message.received A buyer sent you a message.
Watch connection lost watchConnectionDisconnected connection.disconnected A platform session died; syncing for it has stopped until you reconnect.
Watch automation failed watchAutomationFailed automation.failed An automation run failed.

Searches page through results with page / limit=100 (the API maximum) and stop at a short page or at the module's Limit. Prices on listings and inventory are dollars; offer amounts are cents (offerCents, counterCents, amountCents), exactly as the API returns them.

Rate limits and errors

  • The API counts requests per minute per token: reads 1,200/min; writes depend on your Crossly plan (Free 15, Starter 60, Pro 240, Business 1,000, Scale 2,000). See rate limits.
  • A 429 is mapped to Make's RateLimitError, so Make's standard retry / Break error handler with a delay applies; the Retry-After value is included in the message.
  • 401/403 map to InvalidAccessTokenError (bad token or missing scope), 400/404/409/422 to DataError, everything else to RuntimeError. Messages carry the API's error.code, error.message and correlationId (quote it to Crossly support).
  • For bulk stock changes prefer Set stock with many IDs in one call over one call per item: it is one write.

Limitations

  • Webhook signatures are not verified. Crossly signs every delivery with Crossly-Signature: t=<unix>,v1=<hex HMAC-SHA256 of "t.rawBody">, but a Make custom app's webhook only sees the parsed body, not the raw bytes, and the signing secret returned by POST /v1/webhooks is not used. Treat the Make webhook URL as a secret, and do not share scenario blueprints that contain it. If you need verified deliveries, put a small verifier in front (for example verifyWebhook from @crossly/sdk) and forward to Make.
  • The Send test button in Crossly sends test.ping, which reaches every endpoint whatever it subscribes to; filter on Event type if a scenario must ignore it. Deliveries are at-least-once: dedupe on Event ID.
  • Offers modules cover Crossly marketplace offers (GET /v1/offers, POST /v1/offers/{id}/respond). Offers on other marketplaces arrive through the offer triggers but cannot be answered through the public API.
  • This definition is validated structurally in CI (strict JSON, manifest completeness, endpoints restricted to operations from the spec, auth wiring) but has not been run inside a live Make organization by CI; deploy it to a test app first.

Regenerating from the spec

The modules' output interfaces are derived from the response schemas in the live spec. To pick up API changes:

curl -sSL -o seller.json https://crossly.net/openapi/seller.json
node scripts/generate.mjs --spec seller.json
node scripts/validate.mjs

CI runs the same steps (job spec-drift) and fails when the committed files are behind the spec. The list of exposed operations lives in scripts/data/operations.json; event names and sample payloads in scripts/data/events.json.

Publishing on Make (one-time, by a human)

Custom apps start private to the organization that created them.

  1. Share privately: in the app's settings click Share to get an invite link; anyone with it can install the app in their organization. Good for beta users.
  2. Publish: Publish the app to make it publicly findable by link (it is still unreviewed).
  3. Request review: from the app page, Request review to have Make's team certify it as an Approved app listed in Make's app directory for every user. Make reviews naming, help texts, the connection, error handling, pagination, the universal module and sample data; keep the app in a dedicated organization owned by Crossly, and expect review feedback before approval.

Each new version: bump CHANGELOG.md, tag vX.Y.Z, re-deploy with the Apps Editor. Public app changes that break existing scenarios need a new major version on Make's side.

Releases and provenance

Pushing a v* tag runs .github/workflows/release.yml: it validates, zips makecomapp.json + src/ (+ README, LICENSE, CHANGELOG), attests build provenance and attaches the zip to a GitHub Release. Verify a download:

gh attestation verify crossly-make-v0.1.0.zip -R crossly-dev/crossly-make

Security

Report vulnerabilities privately through GitHub security advisories. Never paste a Personal Access Token into an issue.

License

MIT

About

Crossly for Make.com: custom app with instant triggers for sales, orders, offers and stock, plus listing, inventory and order modules.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages