Keep corrected invoice records aligned with the source document
When a corrected invoice arrives, extract its latest details and replace the record you identify in Algolia.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Add or Replace Record
Creates a record in an index or replaces the existing record with the same ID.
Why this helps
Corrections can leave conflicting invoice details in search if the original record is never updated.
- Refresh an identified invoice record after a correction.
- Preserve a stable objectID when supplied.
- Lower the chance of searching against outdated invoice details.
Setup
Build it in a few focused steps.
- 1Connect Affinda and Algolia once in the Notis portal.
- 2Create an automation in Automations, New Automation.
- 3Describe the outcome: parse the corrected invoice and replace the record identified by its supplied objectID.
- 4Pick a webhook trigger and choose where run reports should go.
- 5Test with one corrected invoice and verify the matching record was replaced.
Questions about this workflow
How does the workflow know which record to replace?
Provide the record's objectID in the webhook request or in the available workflow context.
Can it create a missing record?
Yes. Add or Replace Record creates a record when the supplied objectID does not already exist.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Affinda to Algolia. A trigger fires from one place; an action lands in another.
Affinda triggers
Algolia actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Add AB Test
Creates an A/B test to compare search performance between two index variants.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Browse Algolia Index
Retrieves all records from an index.
Add or Replace Record
Creates a record in an index or replaces the existing record with the same ID.
Clear Objects
Removes all records from an index while keeping its settings.
Add Record to Index
Adds a record to an index, replacing any record with the same generated ID.
Clear Rules
Deletes all rules from an index.
Clicked Object IDs
Reports clicked items outside a search context.
Clicked Object IDs After Search
Reports items clicked in search results.
Connect any two apps with Notis in the middle.
Affinda and Algolia, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Algolia.