Depending on how you set up your agreements with your buyers, you might need to send the buyer invoices to get paid for the calls you sent them. Ringba does not have an automatic feature to send invoices, but you can integrate another tool to use the Ringba API to generate a report of calls sent to the buyer and send the report to your buyer.
This solution uses the Ringba API and so requires some coding skill.
This article contains the following sections:
Process Overview
This solution for sending invoices to your buyer's email address involves setting up a tool, such as Zapier or Make, to access the Ringba API to generate a report of the buyer's calls. The the tool can also send the report to the buyer.
For the sake of illustration, the rest of this article assumes you use Zapier but you can use whatever tool you prefer. To follow along with these steps, you must have:
- a Ringba account
- a Zapier account
Setting up Zapier
Zapier is a web app that lets you easily make connections, or "zaps," between apps. It can send API requests to Ringba on a schedule and email the response to the email address of your choice.
To set up your zap:
- Log in to Zapier and click Zap.
The Zaps canvas appears. - Click Trigger, define how you want the invoice generation to get started, and save your progress. For example, you could choose the Flow controls tab on the left and then choose Schedule to have the zap recur every month.
- Back on the canvas, click Action and define what the zap does next. For example, you can choose the Webhook option from the Popular built-in tools section to create the API code to retrieve your call logs.
See the Using the Ringba API to generate a report section later in this article for details on what code to use for this action. - Back on the canvas, click Action and define the step to send the email. For example, you can choose the Utilities tab on the left and then choose Email.
- Test your zap and when you're ready, publish it.
Your zap generates the report and emails it to the buyer each month.
Using the Ringba API to generate a report
Note: Every Ringba API request requires an API token for authentication. See the Getting Started section in the Ringba API documentation for more information about API tokens.
The Get Call Logs endpoint in the Ringba API lets you export a CSV file of call information with your desired specifications, such which buyer the calls went to and the date range during which the calls occurred.Creating a pixel in Ringba to send the report to Zapier
Now that you have the destination ready in Zapier, you can create a pixel in Ringba.
FAQ and Resources
How can I learn more about the Ringba features this solution uses?
To learn more about the Ringba features discussed in this article, see the following articles:
Where can I get more information about the Zapier features?
Zapier provides in-app links to its educational resources, including the Zapier Help Center.
What should I do if I need help with my integration?
If you have any questions or need additional help, please reach out to our support team via chat or email at support@ringba.com.