Ryze Pixel Sender
AI-generatedSummary
Deduplicates incoming affiliate events by transaction ID, checks them against MySQL, sends new or changed events to the TrafficPoint pixel endpoint, and records successful sends in MySQL. Provide the required event fields, a MySQL credential, TrafficPoint cookie header, script ID, and pixel URL; optional settings control dry runs, deduplication, logging, and payload output.
Inputs
- scriptId (required) — Scraper script ID included in the generated event data and execution summary; defaults to
3000. - cookieHeader (required) — Full cookie header used to authenticate requests to TrafficPoint.
- pixelUrl (required) — TrafficPoint pixel endpoint; defaults to
https://pixel.trafficpointltd.com/scraper. - MySQL credential (required) —
mySqlApicredential providing host, port, user, and password for thescraper_tokenstable. - Input item fields (required) — Each item must contain
date,event,trx_id, andio_id. The operation also readstoken,commission_amount,amount,currency, andparent_api_call;tokendefaults to an empty string. Transaction IDs are deduplicated case-insensitively within the input, keeping the last item for each ID. - options.dryRun — Checks MySQL duplicates and reports items it would send, without sending pixel requests or writing to MySQL.
- options.skipDedup — Skips the MySQL duplicate lookup. Items are treated as new and successful sends are not recorded in MySQL.
- options.database — MySQL database containing
scraper_tokens; defaults tocms. - options.verbose — Enables detailed execution logging.
- options.includePayloads — Adds the generated pixel request payloads to the output for debugging.
Output shape
A single output item containing an execution summary and event details.
The summary reports input, new, duplicate, updated, send, and database counts as applicable. Exact duplicates are skipped when MySQL deduplication is enabled; records with changed amount or parent API call are resent. Successful pixel sends are inserted or updated in MySQL when deduplication is enabled. Sent item details are capped at 200, with total and truncation fields; failed sends and optional payloads are also included. Dry runs include a would-send count. Execution errors are thrown as a NodeOperationError with a JSON error summary.