Transaction-Related Push Notifications
Transaction-related push notifications inform users about order and payment activity in your Sharetribe marketplace.
These notifications are critical for keeping users updated about transactions in real time.
What Are Transaction Push Notifications?
Transaction push notifications are sent when events related to transactions occur, such as:
Transaction created
Transaction updated
Transaction completed
Transaction cancelled
Each event triggers a one-time push notification to the relevant user.
Create Zap for Transaction Events
Create this Zap only if you want push notifications for transaction-related events.
Step 1: Create a New Zap
Click Create Zap
Step 2: Select Sharetribe as Trigger App
Choose Sharetribe
Select Transaction Events

Connect your Sharetribe account
Click Continue
Choose any Event Type

Test the trigger
Step 3: (Optional) Run JavaScript Logic
This step identifies who should receive the notification.
Add a new step → Code by Zapier
Choose Run Javascript
Input Data
customerId
Transaction → Customer → ID
providerId
Transaction → Provider → ID
Code Snippet
🔹 In Sharetribe, the customer always initiates the transaction, so the provider is the opposite user.
Step 4: Fetch User Details (Optional)
Add action → Sharetribe
Choose Show User
Map User ID →
notifyUserId(from Code step)Test the step
🔹 This step fetches user details required for sending notifications.
Step 5: Filter Conditions (Recommended)
Add Filter by Zapier
Allow Zap to continue only if
app_idexistsThis ensures notifications are sent only to valid Twinr users
Step 6: Send Push Notification to Twinr
Add Webhooks by Zapier
Choose POST / GET / PUT / Custom Request
Enter the Twinr Webhook Endpoint
Request Body (API Payload)
Field description (API-aligned, concise):
application_id – The Twinr Application ID for which the push notification should be sent. (You can copy Application_ID from URL

push_title – Title text displayed in the push notification.
push_message – Body message of the push notification.
push_image – (Optional) Image URL to be displayed in the notification.
click_action – Defines the action or screen to open when the user taps the notification.
push_tokens – List of device tokens that should receive the push notification.
Map transaction data
Test successfully
Step 7: Publish Zap
Click Publish
Transaction event notifications are now enabled
Final Notes
Listing and Transaction Zaps are optional
Each Zap triggers one push notification
Only published Zaps will work
Login Script & Firebase are mandatory
Last updated