No code
Connect TomaTuFactura with Zapier
A «Zap» links two apps: when something happens in one (the trigger), it does something in the other (the action). TomaTuFactura can be either: it notifies instantly when something happens and receives new records and actions from other apps.
Ideas to get started
- Every order in your online shop creates its invoice.
- Every paid invoice posts a message in the team's Slack or Teams channel.
- Every issued invoice is added to an Excel sheet or Airtable.
- A new customer is added to your email marketing tool.
First of all: an API key
- In TomaTuFactura, go to Settings › Integrations and API with an administrator user.
- Create a key called «Zapier» with just the permissions it needs (for example, read and write customers and appointments).
- Copy it: it is shown only once. If you ever revoke it, the Zaps that use it stop working and their webhooks are deleted automatically.
Option 1: the TomaTuFactura app on Zapier
The app is under review to appear in Zapier's search. In the meantime you can already use it with this invitation:
- In Zapier, create a Zap and choose TomaTuFactura as the trigger or the action.
- When connecting the account, paste the API key. Zapier shows your company's name.
- Choose the trigger (customer created, appointment created, invoice issued… or «Any event») or the action (create a customer, an appointment, a quote; issue, collect…).
- Triggers are instant: when you turn the Zap on, Zapier creates its own webhook and deletes it when you turn it off. You don't need to do anything else.
Start with a template
Ready-to-use Zap templates for TomaTuFactura and a search across thousands of Zapier apps, without leaving this page. If you don't have a Zapier account, it creates one for you in a moment.
Clicking loads it from zapier.com, which stores an identifier in this browser for its usage statistics.
Option 2: with «Webhooks by Zapier» (works today)
«Webhooks by Zapier» is an app by Zapier itself that receives and sends requests to any application. It is «premium»: it requires a paid Zapier plan.
When something happens in TomaTuFactura (trigger)
- In Zapier, create a Zap with the «Webhooks by Zapier» › «Catch Hook» trigger and copy the address it gives you.
- In TomaTuFactura, Settings › Integrations and API › Webhooks: add that address and tick the events you want (for example, «cita.creada»).
- Make the event happen (create a test appointment) and click «Test trigger» in Zapier.
- The record's data arrives inside «datos» (datos__cliente, datos__fecha…): use it in the Zap's action.
To do something in TomaTuFactura (action)
- Add the «Webhooks by Zapier» › «Custom Request» action.
- Method
POSTand the resource address, for examplehttps://tomatufactura.com/api/v1/clientes/. - In «Data», the JSON body with the resource fields and the values from the trigger.
- In «Headers»:
Authorization=Bearer ttf_…(your key) andContent-Type=application/json.
Each resource's fields, its actions (issue, collect, attend…) and the webhook events are in the API documentation.
Make and n8n
They work like option 2:
- Make: the «Webhooks» › «Custom webhook» module as the trigger (its address goes in the webhooks in Settings) and «HTTP» › «Make a request» for actions, with the Authorization header.
- n8n: the «Webhook» node as the trigger and the «HTTP Request» node with «Header Auth» authentication (Authorization: Bearer and your key) for actions.
Want to check that each notification comes from us? Every webhook carries a signature: see how to verify it.