Famewall Help Center
Go to FamewallDashboard
  • 📚Quick Video Guide Tour
  • 🏆Creating a Testimonial Wall
  • 🖊️Editing Testimonial Wall
  • ➕Importing Testimonials
  • 📹Adding Video testimonials
  • ✒️Editing a Testimonial
  • ✂️Trimming a video testimonial
  • 🔤Subtitles for Video testimonial
  • 🚚Arrange and Reorder Testimonials
  • How to download video testimonials?
  • 💝Testimonial Collection Page
  • Automatically Translate Collection Pages
  • 🏅Getting video testimonials from customers
  • ✅Approving a collected testimonial
  • 🎨Testimonial Widget Customization
  • 📃Wall of Fame Page Customization
  • ⭐Enabling Review Banner on Widgets
  • 🎉Publishing and Viewing your Testimonial Widget
  • 🗞️Publishing your Wall of Fame Page
  • 💾Bulk Import Testimonials
  • 🛠️Copying testimonials from one wall to another
  • 🎁Widget Types Showcase
  • 🖼️Generating Images from Testimonials
  • Creating a video from a Testimonial to share on Social Media
  • 🏅How to Share Testimonials on Social Media?
  • ✏️Highlighting text in testimonials
  • 🚧Tag Categories on Testimonials & Display them on Widgets
  • 📙Creating Standalone Brand Pages
  • 🐦Twitter Import
  • 🔏How to make testimonials private?
  • 🌐Set Custom domain
  • 🌀Using the Chrome Extension
  • 🎈Adding team members to Famewall
  • 📧How do I change account email?
  • ⚙️Embedding Testimonials to Websites
    • Add testimonials to Beehiiv
    • Add testimonials to Carrd
    • Add testimonials to ClickFunnels
    • Add testimonials to Elementor
    • Add testimonials to Ghost Website
    • Add testimonials to Shopify
    • Add testimonials to Softr Website
    • Add testimonials to Squarespace
    • Add testimonials to Unbounce
    • Add testimonials to Unicorn Platform
    • Embed testimonial/avatar widget to Notion
    • Embed testimonials on Bubble
    • Embed testimonials on Kajabi website
    • Embed testimonials to Webflow
    • Embed testimonials to Wordpress
    • Embed testimonials to Thinkific
    • Embed testimonials to Framer
    • Embed testimonials to Typedream
    • Embed testimonials to Simplero
    • Add testimonials to all other platforms
  • Ⓜ️Markdown Guide
  • 🎯Famewall Chrome Extension
  • 🪝Webhook Integration
  • 💰Affiliate Program
  • 🔗Sharing Single Testimonials
Powered by GitBook
On this page

Webhook Integration

PreviousFamewall Chrome ExtensionNextAffiliate Program

Last updated 1 year ago

Webhooks automatically send real-time event updates happening on Famewall to your other tools & systems

For instance, if you have messaging systems like Slack, Discord which could integrate with APIs, you can use Famewall's webhooks to receive a notification whenever a customer submits you a testimonial

Select the "Automation" tab in the sidebar and click on the "Webhook" button

Enter the Webhook Endpoint URL where you'd like to receive all the webhook events. And then click on the checkboxes of the type of events.

Here are the Event Types:

  1. testimonial_approved: Triggered when you approve a collected testimonial by clicking "Add to Wall" in Famewall dashboard

Here is the code in Javascript to receive the payload and verify that the incoming event is authentic as coming from Famewall

const crypto = require('crypto');

function verifyFamewallSignature(payload, receivedSignature) {
   
  const hmac = crypto.createHmac('sha256', WEBHOOK_SECRET_KEY);
  const calculatedSignature = hmac.update(payload, 'utf-8').digest('base64');

  const isValid = crypto.timingSafeEqual(
    Buffer.from(calculatedSignature, 'base64'),
    Buffer.from(receivedSignature, 'base64')
  );

  return isValid;
}

app.post('/webhook', function(req,res,next){
    // Verify the payload
    const isPayloadValid = verifyFamewallSignature(JSON.stringify(req.body), req.headers['x-webhook-signature']);

    if (isPayloadValid) {
      console.log('Payload is valid. Process the webhook.');
      //verification valid
      
    } else {
      console.log('Payload is not valid. Discard the webhook.');
      //verification invalid
    }
} )

testimonial_collected: Triggered when a customer submits a text/video testimonial on the testimonial collection page (eg. when a customer sends a testimonial on )

🪝
Famewall's collection page