Viral Loops
viral_loopsViral Loops is a referral marketing platform for managing campaigns, participants, referrals, conversions, leaderboards, and rewards.
Acciones disponibles (9)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get Campaign InfoVIRAL_LOOPS_GET_CAMPAIGN_INFOAcciónReturn the connected campaign's identity, template, expiration mode and date, points, GDPR, and integration configuration without bulky presentation styling.
VIRAL_LOOPS_GET_CAMPAIGN_INFOAcciónReturn the connected campaign's identity, template, expiration mode and date, points, GDPR, and integration configuration without bulky presentation styling.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Campaign StatsVIRAL_LOOPS_GET_CAMPAIGN_STATSAcciónReturn the connected campaign's lead count and total referral count.
VIRAL_LOOPS_GET_CAMPAIGN_STATSAcciónReturn the connected campaign's lead count and total referral count.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ParticipantVIRAL_LOOPS_GET_PARTICIPANTAcciónReturn one participant's profile, referral totals, rank, referrer, and reward summaries by email or referral code.
VIRAL_LOOPS_GET_PARTICIPANTAcciónReturn one participant's profile, referral totals, rank, referrer, and reward summaries by email or referral code.
Parámetros de entrada
emailstringParticipant email selector. Provide exactly one of email or referral_code.
referral_codestringParticipant referral-code selector. Provide exactly one of referral_code or email.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Participant ReferralsVIRAL_LOOPS_LIST_PARTICIPANT_REFERRALSAcciónReturn one participant's referrals by email or referral code, with explicit offset pagination. The provider's response fields and pagination metadata are preserved as returned.
VIRAL_LOOPS_LIST_PARTICIPANT_REFERRALSAcciónReturn one participant's referrals by email or referral code, with explicit offset pagination. The provider's response fields and pagination metadata are preserved as returned.
Parámetros de entrada
emailstringParticipant email selector. Provide exactly one of email or referral_code.
limitintegerMaximum referrals requested for this page. The provider's maximum is unverified.
offsetintegerZero-based number of referrals to skip.
referral_codestringParticipant referral-code selector. Provide exactly one of referral_code or email.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Look Up ParticipantsVIRAL_LOOPS_LOOK_UP_PARTICIPANTSAcciónBatch lookup exact participant and referrer identifiers, returning matching campaign records with explicit offset pagination.
VIRAL_LOOPS_LOOK_UP_PARTICIPANTSAcciónBatch lookup exact participant and referrer identifiers, returning matching campaign records with explicit offset pagination.
Parámetros de entrada
limitintegerMaximum matching records requested. The provider's maximum is unverified.
offsetintegerZero-based number of matching records to skip.
referrersobject[]Referrer identifiers to look up. Each item must contain exactly one email or referral_code.
participantsobject[]Participant identifiers to look up. Each item must contain exactly one email or referral_code.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Register ParticipantVIRAL_LOOPS_REGISTER_PARTICIPANTAcciónRegister an email address in the connected campaign, optionally with a referrer and participant metadata. This creates persistent participant data; Viral Loops provides no API operation to delete it.
VIRAL_LOOPS_REGISTER_PARTICIPANTAcciónRegister an email address in the connected campaign, optionally with a referrer and participant metadata. This creates persistent participant data; Viral Loops provides no API operation to delete it.
Parámetros de entrada
emailstringObligatorioValid email address of the participant to register.
consentsobjectCampaign consent names and values to store for this participant.
last_namestringParticipant's last name.
extra_dataobjectCampaign-specific custom participant fields to store.
first_namestringParticipant's first name.
acquired_fromstringAcquisition channel or origin to record for this participant.
referral_sourcestringReferral source value to record for this participant.
referrer_referral_codestringReferral code of the participant who referred this registration.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search ParticipantsVIRAL_LOOPS_SEARCH_PARTICIPANTSAcciónSearch campaign participants by text, conversion status, and acquisition source, with explicit offset pagination.
VIRAL_LOOPS_SEARCH_PARTICIPANTSAcciónSearch campaign participants by text, conversion status, and acquisition source, with explicit offset pagination.
Parámetros de entrada
limitintegerMaximum participants requested for this page; the provider's maximum is unverified.
offsetintegerZero-based number of participants to skip.
sourcestringenumHow included participants were acquired.
allreferredorganicsearch_termstringText to match against searchable participant fields.
conversion_statusstringenumConversion state to include.
allpendingconverted
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Track Participant ConversionVIRAL_LOOPS_TRACK_PARTICIPANT_CONVERSIONAcciónIRREVERSIBLE: Record a conversion event for one registered participant. This operation cannot be undone and may affect conversion counts, campaign automation, and rewards. It is available only for Milestone Referral, Altruistic Referral, Online to Offline, and Universal Referral campaign templates; other templates reject it. Identify the participant by exactly one email or referral code, and optionally attach a numeric conversion value.
VIRAL_LOOPS_TRACK_PARTICIPANT_CONVERSIONAcciónIRREVERSIBLE: Record a conversion event for one registered participant. This operation cannot be undone and may affect conversion counts, campaign automation, and rewards. It is available only for Milestone Referral, Altruistic Referral, Online to Offline, and Universal Referral campaign templates; other templates reject it. Identify the participant by exactly one email or referral code, and optionally attach a numeric conversion value.
Parámetros de entrada
emailstringParticipant email selector; provide exactly one of email or referral_code.
valuenumberNumeric value associated with this irreversible conversion event.
referral_codestringParticipant referral-code selector; provide exactly one of referral_code or email.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ParticipantVIRAL_LOOPS_UPDATE_PARTICIPANTAcciónUpdate one participant's name, referral or conversion counts, or custom data, identified by email or referral code. Campaign emails and connected integration triggers default to off; when enabled, those side effects cannot be undone.
VIRAL_LOOPS_UPDATE_PARTICIPANTAcciónUpdate one participant's name, referral or conversion counts, or custom data, identified by email or referral code. Campaign emails and connected integration triggers default to off; when enabled, those side effects cannot be undone.
Parámetros de entrada
emailstringParticipant email selector; provide exactly one of email or referral_code.
last_namestringNew last name; explicitly pass null to clear the stored value.
extra_dataobjectCampaign-specific custom participant fields to merge into existing data. Omitted existing keys are retained.
first_namestringNew first name; explicitly pass null to clear the stored value.
send_emailsbooleanWhether this update may send campaign emails. Defaults to false.
referral_codestringParticipant referral-code selector; provide exactly one of referral_code or email.
referral_countintegerNew non-negative referral count to store for the participant.
conversion_countintegerNew non-negative conversion count to store for the participant.
trigger_integrationsbooleanWhether this update may trigger connected integrations. Defaults to false.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not