← Help center
Getting started
Using the help centerFinding your way: the side menuLight, dark or system theme
Reports
Reports: finding and running themProfit and LossBalance SheetCash Flow StatementStatement of Owner's EquityBudget vs. ActualAccounts Receivable AgingAccounts Payable AgingProfit by Sales ChannelCOGS & Gross MarginTrue Net Margin by SKU / LotPayout ReconciliationReturns, Refunds & ShrinkageInventory Valuation SummaryInventory Turnover & Sell-ThroughAged Inventory / Dead StockStockout & Reorder PointSales Tax Liability by Jurisdiction
Dashboards
Using dashboardsAdd and arrange widgetsCreate, share and personalize dashboards
AI product intake
How AI product intake worksStart a batch and capture itemsThe review queue and item statusesReview an item, and change it after approvalHow prices are suggestedPhotos, cleanup and AI picturesPicture stylesItems in several sizes or colorsApprove: create the product and its stockIntake settingsTroubleshooting intake
Sales orders and quotes
Sales orders and quotesReceive customer paymentsSales settings
Purchasing
Purchase orders
Banking
Connecting your bank and card accountsReviewing bank transactionsImporting a bank statement fileReconciling a bank or card accountBank rulesBanking settings: matching and AI
Selling on eBay
Connect your eBay accountAccount settings and marketplace feesPublish a product to eBayItem specifics eBay requiresList sizes and colors as one listingManage your eBay listingseBay orders become sales ordersTell eBay an order shippedKeep eBay quantities in syncRefresh older listings (end and relist)Fix eBay listing issues and relistImport your existing eBay listings
Product labels
Product labels at a glanceDesign a label templatePrint labelsPrinter setup: Brother, Zebra, Dymo, Rollo and sheets
Printing and document templates
Document templatesDesign a document templatePrint and email documentsChecks and preprinted formsWho gets which template
Team and users
Invite people to your companyRoles and permissionsAccept an invitation
Inventory
Find products: search, filters and sortingInventory transactions and postingWarehouse accounts
Logistics and shipping
The logistics overviewShipmentsFreight bookingsCustoms entries and the duty calculatorShipment problemsLogistics KPIs and reports
Projects and time
The projects overview and reportsCreate and run a projectPhases, tasks and task templatesLogging time and timesheets
Contracts
The contracts overview and analyticsCreate and manage contractsRenewals and amendments
Setup and accounting
Email: templates, sender and sent emailsCustom fieldsCompany time zoneBusiness calendarBranch managersAssortments: one item in several sizes or colorsUnits of measureSales tax (older guide)Example: Kansas sales taxApprovalsJournal entries
Taxes and 1099s
Sales tax setupTax on orders and invoicesTax summary report1099 contractors and year-end review
Automations
Automations: when, if, thenWorkflows: waits, approvals and conditionsMore workflow stepsAsking AI in a workflowOther systems starting and answering automationsAutomation usageBuilding a workflow by describing itTesting an automation before it goes liveApproval before an automation goes liveThe Automations panel on a recordSending records to another system
AI credits
How AI credits workWhat each AI action costs

Sending records to another system

Connections to other systems and chats: set one up, what is sent and signed, and when a send fails.


What a connection is for

A connection is the web address of another system that accepts records: an accounting or document system, a spreadsheet tool, or a service such as Zapier or Make. Once it is set up, an automation can use the action Send to another system to send it each record it acts on.

A connection can also be a chat channel in Slack, Microsoft Teams or Google Chat, for the action Post in a chat. See Chats below.

You find connections on the Automations page, under Connections.

Setting one up

  1. Open Automations, click Connections, then New connection.
  2. Give it a Name people will recognize, such as "Accounting system".
  3. Paste the Web address the other system gave you. It must start with https://.
  4. Click Set it up.
  5. Copy the Signing key that appears and give it to the other system. It is shown only once.
  6. Click Send a test and check that the sample record (TEST-1) arrived on the other side.
A connection's page: the signing key shown once with a Copy button, the name and web address, the On switch, and the Check it card with Send a test and Make a new signing key.
A new connection: copy the signing key now, then send a test.

Chats

To post messages in a channel, connect it once with its incoming webhook address:

  1. Click New connection and choose the chat under What it connects to.
  2. Get the channel's incoming webhook address. The form says where to find it: in Slack, add the Incoming Webhooks app to the channel; in Microsoft Teams, use the channel's Workflows, “Post to a channel when a webhook request is received”; in Google Chat, the space's Apps & integrations.
  3. Paste it and click Set it up, then Send a test message.
  4. In an automation, add Post in a chat, choose the channel and write the message. Insert a field works as in emails.

Only the chat's own addresses are accepted (for Slack, ones starting with https://hooks.slack.com/). During a live trial, messages meant for a chat come to the person trying it as a notice instead.

What is sent

Each time the action runs, the other system receives one request with the record as JSON:

PartWhat it holds
idThe same for every try of one action, so the other system can ignore a repeat.
eventcreated, changed, deleted or scheduled.
automationWhich automation sent it.
record_type, recordThe kind of record, its number and its fields as automations see them.
changesFor a change, each field's old and new value.

For whoever builds the receiving side: the request carries X-ERP-Timestamp and X-ERP-Signature. The signature is sha256= followed by the HMAC-SHA256 of the timestamp, a dot, and the request body, using the signing key. Reject requests whose signature doesn't match.

Safety limits

  • Only https:// addresses on the public internet. Addresses on your own private network are refused.
  • Redirects are not followed. If the other system answers with a redirect, use the address it points to.
  • It waits up to 30 seconds for an answer.
  • The address and signing key are stored encrypted.

When a send fails

If the other system doesn't answer or reports a problem on its side, the action is tried again after 1, 5 and 30 minutes. If it refuses the request (for example the address is wrong), the run fails straight away. Either way the run on the automation's page says what happened, and the Last request column on the Connections page shows the latest result.

What you seeWhat to do
"points to a private network address"The address is on an internal network the ERP can't reach. Use a public address.
"refused it (401)" or "(403)"The other system didn't accept the request. Check the address and that it has the current signing key.
"refused it (404)"The address is wrong. Copy it again from the other system.
"answered with a redirect"Use the final address instead.
"didn't answer within 30 seconds" or "had a problem (500)"The other system is down or slow. The action is tried again by itself.
"is switched off"Open the connection and tick On, then try the run again.

Changing the key, switching off, deleting

  • Make a new signing key if the old one may have been seen by someone else. The other system rejects requests until you give it the new key.
  • Untick On to stop sending without changing any automation. Automations that use it fail instead of sending.
  • Delete is only possible when no automation uses the connection.
Was this article helpful?
DJDT

History

Versions

Time

Settings from erp.config.settings

Headers

Request

SQL queries from 0 connections

Static files (445 found, 1 used)

Templates (6 rendered)

Alerts

Cache calls from 6 backends

Signals