1. In your Megacall account, go to **Settings - Integrations and API**, select the integration with Zapier, and click the **Enable** button.
2. Copy the API Token by clicking the "Copy" button, you'll need it for the integration with Zapier.
3. Log in to your account at https://zapier.com/ and go to the Dashboard. Click the “Create+” button.
4. In the search bar, type "Megacall" and then select the application from the results.
5. In the settings, select the event that will trigger the action, such as Notify Missed (notification of a missed incoming call in the Cloud PBX).
6. In the next step, add your account by clicking the Sign in button. Enter the API Token you copied from your Megacall account in the step two and click Yes.
7. On this page, click Test trigger
8. In the Actions section, select the application that will be used after receiving the notification from the Cloud PBX, for example, choose Gmail and the action Send Email.
9. On the next page, sign in to your Gmail account from which the email will be sent and click Continue.
10. Enter the email address to which the emails will be sent, the subject of the email, the content, and any other necessary email parameters.
11. To test the trigger, click Test & Continue. Then, click Publish Zap
Setup is complete. A missed incoming call in the virtual PBX will trigger an action to "send an email to" the specified address. You can also configure any other action in Gmail or one of the other 5,000 available applications, such as Google Calendar, Microsoft Teams, Slack, Facebook Messenger, Twitter, Discord, and more. A complete list of applications is available here: https://zapier.com/apps