English
Apimo — new items
Starts the workflow when a lead arrives, a property is created or updated, or a contact or search request is created in an Apimo agency. The item lands in data.apimo, with no triggering email.
The Apimo — new items trigger checks an Apimo agency at regular intervals and starts one run for each lead received, property created or updated, contact or search request created since the previous check. Apimo has no webhooks; its lists, sorted by update date, answer “what changed since” in a single request, which is what each check sends.
The run has no triggering email. To act on the item, chain the Apimo node (for instance Requests matching a property after a new property) or Send with its sending mailbox chosen on the node.
At a glance
- Type:
trigger.apimo· version 1 - Category: Triggers
- Kind: Trigger — starts a run
- Effect: No external effect (
none) — nothing is written outside Loop & Roll; safe to replay - Needs a carrier email: No
- Connection: Apimo
- Outputs:
main
Connection
This node needs a Apimo connection.
Parameters
connection
Apimo connection — The Apimo connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
agency
Agency
- Type: Remote resource (
resourceLocator) - Required: Yes
- Ways to choose: pick from a list, type an ID (
apimo.agency) - Listed with the connection in:
connection
event
Trigger on
- Type: One choice (
options) - Required: Yes
- Default:
lead.new - Options:
lead.new— A new lead: A lead received by the agency, whatever its source (portal, website, partner).property.new— A new property: An active property created in the agency.property.updated— A property updated: Any change to an active property (price, status, description…), creations included.contact.new— A new contact: A contact created in the agency.request.new— A new search request: A buyer’s or tenant’s search request created in the agency.
everyMinutes
Check every (minutes) — Each check costs one request of the Apimo account’s daily quota (1,000 by default): fifteen minutes make 96 a day.
- Type: Number (
number) - Required: No
- Default:
15 - Whole number, from 5 to 1440
Outputs
main— Taken once per new (or updated) item found by a check: each item starts its own run.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.apimo.event }}—string. What was watched:lead.new,property.new,property.updated,contact.neworrequest.new.{{ data.apimo.id }}—string. The Apimo id of the lead, property, contact or search request.{{ data.apimo.agencyId }}—string. The agency chosen on the node.{{ data.apimo.changedAt }}—string. When the item was created (new items) or last updated (updated properties), as an ISO 8601 instant.{{ data.apimo.lead }}—{ id, firstname, lastname, email, phone, mobile, message, propertyId, contactId, … }. New lead only: the lead, as the Apimo node’s Get a lead returns it.{{ data.apimo.property }}—{ id, reference, title, city, price, area, rooms, agentName, agentEmail, … }. New or updated property only: the property, as the Apimo node’s Get a property returns it.{{ data.apimo.contact }}—{ id, firstname, lastname, email, phone, mobile, … }. New contact only: the contact.{{ data.apimo.request }}—{ id, contactId, userId, category, types, cities, priceMin, priceMax, … }. New search request only: the request.
Example
To answer every new lead within fifteen minutes, set:
agency (list mode) Agence Riviera
event lead.new
everyMinutes 15Each lead starts one run; a Send node can write to {{ data.apimo.lead.email }} and quote {{ data.apimo.lead.message }}.
Tips
- Start position. On publication the trigger starts “from now”: existing items are not replayed. Publishing again keeps the position already reached.
- Quota. Each check costs one request of the Apimo account’s daily quota (1,000 by default): every 15 minutes is 96 requests a day per trigger. The fastest rhythm is 5 minutes.
- New versus updated. “New” keeps only items created since the position; “A property updated” starts a run for every change of a property, each change counting once.
- Test. Trying the trigger shows the most recent items of the last seven days, without moving the position.