VoiceGenie AI
Contact UsBack to VoiceGenie
  • πŸ‘‹Welcome to VoiceGenie AI
  • Overview
    • πŸ’‘VoiceGenie AI Features
  • Product Guides
    • πŸ€–Assistants
      • πŸ—£οΈCreating an Assistant
        • πŸ“œScript
          • 🎬How to write a script
          • πŸ“°Personalizing Script
        • 🎯Goal
        • 🌎Accents and languages
        • πŸ“±Welcome Message
        • 🀡Actions
          • πŸ•ΈοΈWebhooks
          • πŸ€¦β€β™‚οΈTransfer to human
          • Custom SMS
      • 🏹Test an Assistant
      • πŸ“•Clone A assistant
    • πŸ“žPhone Numbers
      • πŸ“²Integrate Phone number
    • πŸ”’Contact List
      • πŸ“”Creating contact List
      • πŸ§‘β€πŸ€β€πŸ§‘Adding Contacts to List
      • πŸͺ›Modifying contacts
    • πŸ’ΈCampaigns
      • πŸ†ŽTypes of Campaign
      • πŸ“€InBound Campaign
      • πŸ“€OutBound Campaign
      • πŸ“ŸStates of a Campaign
      • πŸ“ŠPost Call Analysis
        • πŸ“”Webhook Payload/Response
      • Campaign Scheduling
      • 🚚Deleting a Campaign
      • πŸ“•Clone A Campaign
      • πŸ“”Demo Campaigns
      • πŸ‘¦Actions
        • πŸ“žTransfer To Agent
        • Custom Sms
    • πŸ›‘οΈDynamic Personalization Detailed Explanation.
      • Using dynamic variables
  • πŸ–₯️Developer documentation 1.0
    • πŸ€™add call to a recurring campaign
  • Integrations
    • HubSpot
    • ElevenLabs
    • HighLevel
    • Cal
  • Knowledge Base
    • Creating a Knowledge Base: The First Step to Empowering Your Assistant 🧠✨
    • Adding Content to the Knowledge Base: Build Your Assistant’s Training Arsenal 🧠✨
    • Training Your Knowledge Base: Preparing Your Assistant for Success πŸ§ πŸ’‘
    • Linking a Knowledge Base to an Assistant
Powered by GitBook
On this page

Was this helpful?

  1. Product Guides
  2. Campaigns
  3. Post Call Analysis

Webhook Payload/Response

The Webhook(s) are detailed below:: The Webhook(s) added must accept a POST request, below is the code example of how and what we send to a webhook

const axios = require('axios');

// Data to be sent in the POST request
const postData = 
         {
            Transcript, //These are the call transcripts
            PhoneNumber,// phone Number of the customer
            CustomerSpecificData, //This will include some additional
            //information of user for example, Email(if you had provided in the contacts)
            Duration, // Duration in mins(ceil value, 23 secs will be shown as 1, 61 secs as 2)
            InformationGathered, //This will the Information that you had mentioned to collect
            //from the conversation when you created the campaign.
            AnswersToQuestion: { // These are the questions, you added during campaign creation
            // in order of their insertion
                 Question1: Q1 },
                 Question2: Q2 },
                 ....
                 ...
            }
        }

// Make a POST request
axios.post('https://{YOUR_WEBHOOK}', postData)
  .then(response => {
   //We expect the webhook to return 200
  })
  .catch(error => {
    // Handle any errors
    console.error('Error posting data:', error);
  });
PreviousPost Call AnalysisNextCampaign Scheduling

Last updated 2 months ago

Was this helpful?

πŸ’Έ
πŸ“Š
πŸ“”
https://app.voicegenie.ai/