← Moneybird + Vapi integrations

Update Assistant Settings with Vapi API on New Webhook event from Moneybird API

Pipedream makes it easy to connect APIs for Vapi, Moneybird and 2,700+ other apps remarkably fast.

Trigger workflow on
New Webhook event from the Moneybird API
Next, do this
Update Assistant Settings with the Vapi API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Moneybird trigger and Vapi action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Webhook event trigger
    1. Connect your Moneybird account
    2. Select one or more Webhook Events
  3. Configure the Update Assistant Settings action
    1. Connect your Vapi account
    2. Select a Assistant ID
    3. Optional- Configure Transcriber
    4. Optional- Configure Model
    5. Optional- Configure Voice
    6. Optional- Configure First Message
    7. Optional- Select a First Message Mode
    8. Optional- Configure HIPAA Enabled
    9. Optional- Select one or more Client Messages
    10. Optional- Select one or more Server Messages
    11. Optional- Configure Silence Timeout Seconds
    12. Optional- Configure Max Duration Seconds
    13. Optional- Select a Background Sound
    14. Optional- Configure Background Denoising Enabled
    15. Optional- Configure Model Output in Messages Enabled
    16. Optional- Configure Transport Configurations
    17. Optional- Configure Credentials
    18. Optional- Configure Name
    19. Optional- Configure Voicemail Detection
    20. Optional- Configure Voicemail Message
    21. Optional- Configure End Call Message
    22. Optional- Configure End Call Phrases
    23. Optional- Configure Metadata
    24. Optional- Configure Analysis Plan
    25. Optional- Configure Artifact Plan
    26. Optional- Configure Message Plan
    27. Optional- Configure Start Speaking Plan
    28. Optional- Configure Stop Speaking Plan
    29. Optional- Configure Monitor Plan
    30. Optional- Configure Credential IDs
    31. Optional- Configure Server
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event on each webhook event. [See docs here](https://developer.moneybird.com/webhooks/)
Version:0.0.1
Key:moneybird-new-webhook-event

Moneybird Overview

The Moneybird API allows you to automate your finance and accounting tasks by enabling programmatic access to your Moneybird account. With the API, you can create invoices, manage contacts, record payments, and fetch financial reports. This integration with Pipedream allows you to streamline your financial operations by connecting Moneybird with other apps and services to automate workflows, sync data, and trigger actions based on financial events.

Trigger Code

import moneybird from "../../moneybird.app.mjs";
import constants from "../common/constants.mjs";

export default {
  name: "New Webhook event",
  version: "0.0.1",
  key: "moneybird-new-webhook-event",
  description: "Emit new event on each webhook event. [See docs here](https://developer.moneybird.com/webhooks/)",
  type: "source",
  dedupe: "unique",
  props: {
    moneybird,
    db: "$.service.db",
    http: "$.interface.http",
    events: {
      label: "Webhook Events",
      description: "The webhook events to listen",
      type: "string[]",
      options: constants.WEBHOOK_EVENTS,
    },
  },
  methods: {
    _getWebhookId() {
      return this.db.get("webhookId");
    },
    _setWebhookId(webhookId) {
      this.db.set("webhookId", webhookId);
    },
  },
  hooks: {
    async activate() {
      const response = await this.moneybird.createWebhook({
        url: this.http.endpoint,
        events: this.events,
      });

      this._setWebhookId(response.id);
    },
    async deactivate() {
      const webhookId = this._getWebhookId();
      await this.moneybird.removeWebhook(webhookId);
    },
  },
  async run(event) {
    const { body } = event;

    this.$emit(body.entity, {
      id: body.entity.id,
      summary: `New event ${body.action} for entity ${body.entity.id}`,
      ts: new Date(),
    });
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
MoneybirdmoneybirdappThis component uses the Moneybird app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
Webhook Eventseventsstring[]Select a value from the drop down menu:{ "label": "Administration activated", "value": "administration_activated" }{ "label": "Administration added", "value": "administration_added" }{ "label": "Removal of administration requested", "value": "administration_cancelled" }{ "label": "Administration updated", "value": "administration_changed" }{ "label": "Removal of administration requested", "value": "administration_deleted" }{ "label": "Administration reactivated", "value": "administration_reactivated" }{ "label": "Administration deleted", "value": "administration_removed" }{ "label": "Administration suspended", "value": "administration_suspended" }{ "label": "Activated automatic linking of transactions", "value": "administration_automatic_bookers_activated" }{ "label": "Deactivated automatic linking of transactions", "value": "administration_automatic_bookers_deactivated" }{ "label": "Data analysis permission withdrawn", "value": "administration_data_analysis_permission_unset" }{ "label": "Data analysis permission given", "value": "administration_data_analysis_permission_set" }{ "label": "Administration changed", "value": "administration_details_edited" }{ "label": "Moneybird Payments activated", "value": "administration_moneybird_payments_activated" }{ "label": "Activated payments without proof", "value": "administration_payments_without_proof_activated" }{ "label": "Deactivated payments without proof", "value": "administration_payments_without_proof_deactivated" }{ "label": "Locked period updated", "value": "administration_update_period_locked_until" }{ "label": "Adviser updated", "value": "adviser_updated" }{ "label": "Adviser created", "value": "adviser_created" }{ "label": "Adviser deleted", "value": "adviser_deleted" }{ "label": "Profile image added", "value": "adviser_updated_photo" }{ "label": "E-mail about concept state sent", "value": "adviser_email_concept_state_sent" }{ "label": "E-mail about published state sent", "value": "adviser_email_published_state_sent" }{ "label": "Experience created", "value": "adviser_experience_created" }{ "label": "Experience updated", "value": "adviser_experience_updated" }{ "label": "Experience deleted", "value": "adviser_experience_deleted" }{ "label": "Education created", "value": "adviser_education_created" }{ "label": "Education updated", "value": "adviser_education_updated" }{ "label": "Education deleted", "value": "adviser_education_deleted" }{ "label": "Company created", "value": "adviser_company_created" }{ "label": "Company updated", "value": "adviser_company_updated" }{ "label": "Company image added", "value": "adviser_company_photo" }{ "label": "Location created", "value": "adviser_company_location_created" }{ "label": "Location deleted", "value": "adviser_company_location_deleted" }{ "label": "Location created", "value": "advisers_location_created" }{ "label": "Location deleted", "value": "advisers_location_deleted" }{ "label": "Moneybird card created", "value": "adyen_payment_instrument_created" }{ "label": "Moneybird card updated", "value": "adyen_payment_instrument_updated" }{ "label": "Booking rule created", "value": "booking_rule_created" }{ "label": "Booking rule updated", "value": "booking_rule_updated" }{ "label": "Booking rule deleted", "value": "booking_rule_destroyed" }{ "label": "Contact archived", "value": "contact_archived" }{ "label": "Contact activated", "value": "contact_activated" }{ "label": "Contact updated", "value": "contact_changed" }{ "label": "Contact created", "value": "contact_created" }{ "label": "Contact created through checkout", "value": "contact_created_from_checkout_order" }{ "label": "Contact deleted", "value": "contact_destroyed" }{ "label": "Mandate request failed", "value": "contact_mandate_request_failed" }{ "label": "Mandate request sent", "value": "contact_mandate_request_initiated" }{ "label": "Mandate request succeeded", "value": "contact_mandate_request_succeeded" }{ "label": "Contact was merged", "value": "contact_merged" }{ "label": "Contact person created", "value": "contact_person_created" }{ "label": "Contact person deleted", "value": "contact_person_destroyed" }{ "label": "Contact person updated", "value": "contact_person_updated" }{ "label": "Credit note created based on invoice", "value": "credit_invoice_created_from_original" }{ "label": "Default sender address updated", "value": "default_identity_updated" }{ "label": "Default VAT rate added", "value": "default_tax_rate_created" }{ "label": "Bank link activated", "value": "direct_bank_link_activated" }{ "label": "Direct debit batch created", "value": "direct_debit_transaction_created" }{ "label": "Direct debit batch deleted", "value": "direct_debit_transaction_deleted" }{ "label": "Attachment couldn't be saved from email", "value": "document_attachment_skipped" }{ "label": "Document created based on an original document", "value": "document_created_from_original" }{ "label": "Document deleted", "value": "document_destroyed" }{ "label": "Document expired", "value": "document_expired" }{ "label": "Recurring document created", "value": "document_recurred" }{ "label": "Document saved", "value": "document_saved" }{ "label": "Document received by email", "value": "document_saved_from_email" }{ "label": "Document received via Peppol", "value": "document_saved_from_si" }{ "label": "Layout added", "value": "document_style_created" }{ "label": "Layout deleted", "value": "document_style_destroyed" }{ "label": "Layout updated", "value": "document_style_updated" }{ "label": "Document updated", "value": "document_updated" }{ "label": "Sending from your own domain has been disabled.", "value": "email_domain_deactivated" }{ "label": "Your domain is verified.", "value": "email_domain_validated" }{ "label": "Quote accepted online", "value": "estimate_accepted_contact" }{ "label": "Quote billed", "value": "estimate_billed" }{ "label": "Quote created", "value": "estimate_created" }{ "label": "Quote created based on the original quote", "value": "estimate_created_from_original" }{ "label": "Quote deleted", "value": "estimate_destroyed" }{ "label": "Quote marked as accepted", "value": "estimate_mark_accepted" }{ "label": "Quote archived", "value": "estimate_mark_archived" }{ "label": "Quote billed", "value": "estimate_mark_billed" }{ "label": "Quote marked as expired", "value": "estimate_mark_late" }{ "label": "Quote marked as open", "value": "estimate_mark_open" }{ "label": "Quote marked as rejected", "value": "estimate_mark_rejected" }{ "label": "Quote sent by email", "value": "estimate_send_email" }{ "label": "Quote marked as sent manually", "value": "estimate_send_manually" }{ "label": "Quote sent to %{address}", "value": "estimate_send_post" }{ "label": "Sending by mail cancelled", "value": "estimate_send_post_cancelled" }{ "label": "Sent by mail by Moneybird", "value": "estimate_send_post_confirmation" }{ "label": "Quote signed by sender", "value": "estimate_signed_sender" }{ "label": "Quote has expired", "value": "estimate_state_changed_to_late" }{ "label": "Quote updated", "value": "estimate_updated" }{ "label": "External invoice created", "value": "external_sales_invoice_created" }{ "label": "External invoice deleted", "value": "external_sales_invoice_destroyed" }{ "label": "Marked external invoice as dubious", "value": "external_sales_invoice_marked_as_dubious" }{ "label": "External invoice marked as uncollectible", "value": "external_sales_invoice_marked_as_uncollectible" }{ "label": "External invoice updated", "value": "external_sales_invoice_updated" }{ "label": "External invoice has expired", "value": "external_sales_invoice_state_changed_to_late" }{ "label": "State of external invoice changed to open", "value": "external_sales_invoice_state_changed_to_open" }{ "label": "External invoice has been paid", "value": "external_sales_invoice_state_changed_to_paid" }{ "label": "External invoice changed to uncollectible", "value": "external_sales_invoice_state_changed_to_uncollectible" }{ "label": "Beta feature turned on", "value": "feature_preference_opt_in" }{ "label": "Beta feature turned off", "value": "feature_preference_opt_out" }{ "label": "Feed entry snoozed", "value": "feed_entry_snoozed" }{ "label": "Feed entry unsnoozed", "value": "feed_entry_unsnoozed" }{ "label": "Account activated", "value": "financial_account_activated" }{ "label": "Account added", "value": "financial_account_created" }{ "label": "Account deactivated", "value": "financial_account_deactivated" }{ "label": "Account deleted", "value": "financial_account_destroyed" }{ "label": "Bank link created", "value": "financial_account_bank_link_created" }{ "label": "Bank link removed", "value": "financial_account_bank_link_destroyed" }{ "label": "Bank link updated", "value": "financial_account_bank_link_updated" }{ "label": "Account name changed", "value": "financial_account_renamed" }{ "label": "Financial statement added", "value": "financial_statement_created" }{ "label": "Financial statement deleted", "value": "financial_statement_destroyed" }{ "label": "Financial statement updated", "value": "financial_statement_updated" }{ "label": "Goal completed", "value": "goal_completed" }{ "label": "Goal not completed", "value": "goal_uncompleted" }{ "label": "Sender address added", "value": "identity_created" }{ "label": "Sender address deleted", "value": "identity_destroyed" }{ "label": "Sender address updated", "value": "identity_updated" }{ "label": "Category activated", "value": "ledger_account_activated" }{ "label": "Transaction booked on category", "value": "ledger_account_booking_created" }{ "label": "Link between transaction and category deleted", "value": "ledger_account_booking_destroyed" }{ "label": "Category added", "value": "ledger_account_created" }{ "label": "Category deactivated", "value": "ledger_account_deactivated" }{ "label": "Category deleted", "value": "ledger_account_destroyed" }{ "label": "Category updated", "value": "ledger_account_updated" }{ "label": "Link with Mollie created", "value": "mollie_credential_created" }{ "label": "Link with Mollie removed", "value": "mollie_credential_destroyed" }{ "label": "Note created", "value": "note_created" }{ "label": "Note deleted", "value": "note_destroyed" }{ "label": "Order placed", "value": "order_created" }{ "label": "Payment deleted", "value": "payment_destroyed" }{ "label": "Transaction linked to a financial mutation", "value": "payment_linked_to_financial_mutation" }{ "label": "Payment registered for invoice", "value": "payment_registered" }{ "label": "Thank You email was sent for payment", "value": "payment_send_email" }{ "label": "Payment method updated", "value": "payment_method_edited" }{ "label": "Direct debit transaction approved by bank", "value": "payment_transaction_authorized" }{ "label": "Direct debit transaction waiting for approval by bank", "value": "payment_transaction_awaiting_authorization" }{ "label": "Payment batch cancelled", "value": "payment_transaction_batch_cancelled" }{ "label": "Payment batch created", "value": "payment_transaction_batch_created" }{ "label": "Direct debit transaction being executing", "value": "payment_transaction_executing" }{ "label": "Direct debit transaction accepted", "value": "payment_transaction_paid" }{ "label": "Direct debit transaction pending", "value": "payment_transaction_pending" }{ "label": "Direct debit transaction rejected", "value": "payment_transaction_rejected" }{ "label": "Direct debit payment is technically approved by the bank", "value": "payment_transaction_technically_validated" }{ "label": "Ponto is connected", "value": "ponto_connected" }{ "label": "Ponto connection deleted", "value": "ponto_disconnected" }{ "label": "Ponto bank link activated", "value": "ponto_direct_bank_link_activated" }{ "label": "Ponto bank link expired", "value": "ponto_direct_bank_link_expired" }{ "label": "Product activated", "value": "product_activated" }{ "label": "Product created", "value": "product_created" }{ "label": "Product deactivated", "value": "product_deactivated" }{ "label": "Product deleted", "value": "product_destroyed" }{ "label": "Product updated", "value": "product_updated" }{ "label": "Project activated", "value": "project_activated" }{ "label": "Project added", "value": "project_created" }{ "label": "Project deactivated", "value": "project_archived" }{ "label": "Project deleted", "value": "project_destroyed" }{ "label": "Project updated", "value": "project_updated" }{ "label": "Transaction added to credit transfer batch", "value": "purchase_transaction_added_to_batch" }{ "label": "Payment authorized at bank", "value": "purchase_transaction_authorized" }{ "label": "Payment awaiting authorization at bank", "value": "purchase_transaction_awaiting_authorization" }{ "label": "Credit transfer batch cancelled", "value": "purchase_transaction_batch_cancelled" }{ "label": "Purchase transaction batch created", "value": "purchase_transaction_batch_created" }{ "label": "Transaction created", "value": "purchase_transaction_created" }{ "label": "Transaction deleted", "value": "purchase_transaction_deleted" }{ "label": "Payment in execution", "value": "purchase_transaction_executing" }{ "label": "Payment succeeded", "value": "purchase_transaction_paid" }{ "label": "Payment pending", "value": "purchase_transaction_pending" }{ "label": "Payment rejected", "value": "purchase_transaction_rejected" }{ "label": "Payment technically approved by the bank", "value": "purchase_transaction_technically_validated" }{ "label": "The invoice could not be sent automatically, sending automatically is disabled", "value": "recurring_sales_invoice_auto_send_forcefully_disabled" }{ "label": "Recurring invoice created", "value": "recurring_sales_invoice_created" }{ "label": "Recurring sales invoice created based on original invoice", "value": "recurring_sales_invoice_created_from_original" }{ "label": "Recurring invoices created based on the original recurring invoice", "value": "recurring_sales_invoice_created_from_original_recurring" }{ "label": "You have reached the maximum amount of invoices for this month. The recurring invoice is not created.", "value": "recurring_sales_invoice_creating_skipped_due_to_limits" }{ "label": "Recurring invoice deactivated", "value": "recurring_sales_invoice_deactivated" }{ "label": "Recurring invoice deleted", "value": "recurring_sales_invoice_destroyed" }{ "label": "Sales invoice created", "value": "recurring_sales_invoice_invoice_created" }{ "label": "Sending automatically enabled", "value": "recurring_sales_invoice_started_auto_send" }{ "label": "Sending automatically disabled", "value": "recurring_sales_invoice_stopped_auto_send" }{ "label": "Recurring invoice updated", "value": "recurring_sales_invoice_updated" }{ "label": "Invoice created", "value": "sales_invoice_created" }{ "label": "Invoice created based on quote", "value": "sales_invoice_created_based_on_estimate" }{ "label": "Invoice created based on recurring invoice", "value": "sales_invoice_created_based_on_recurring" }{ "label": "Invoice created based on subscription", "value": "sales_invoice_created_based_on_subscription" }{ "label": "Sales invoice created through checkout", "value": "sales_invoice_created_from_checkout_order" }{ "label": "Invoice created based on original invoice", "value": "sales_invoice_created_from_original" }{ "label": "Invoice deleted", "value": "sales_invoice_destroyed" }{ "label": "Invoice marked as dubious", "value": "sales_invoice_marked_as_dubious" }{ "label": "Invoice was marked as irrecoverable", "value": "sales_invoice_marked_as_uncollectible" }{ "label": "Invoice has been merged with another invoice before sending", "value": "sales_invoice_merged" }{ "label": "Invoice has been merged with other recurring invoices before sending", "value": "sales_invoice_merged_with_recurring_sales_invoice" }{ "label": "Processing of invoice has been paused", "value": "sales_invoice_paused" }{ "label": "Revert marking as dubious", "value": "sales_invoice_revert_dubious" }{ "label": "Invoice marked as uncollectible", "value": "sales_invoice_revert_uncollectible" }{ "label": "Invoice sent by email", "value": "sales_invoice_send_email" }{ "label": "Invoice manually marked as sent", "value": "sales_invoice_send_manually" }{ "label": "Invoice sent by mail", "value": "sales_invoice_send_post" }{ "label": "Invoice sent via mail by Moneybird", "value": "sales_invoice_send_post_confirmation" }{ "label": "Sending by mail cancelled", "value": "sales_invoice_send_post_cancelled" }{ "label": "Reminder for this sales invoice sent by email", "value": "sales_invoice_send_reminder_email" }{ "label": "Reminder sent manually", "value": "sales_invoice_send_reminder_manually" }{ "label": "Reminder sent by mail", "value": "sales_invoice_send_reminder_post" }{ "label": "Invoice reminder sent by mail by Moneybird", "value": "sales_invoice_send_reminder_post_confirmation" }{ "label": "Invoice sent via Peppol", "value": "sales_invoice_send_si" }{ "label": "Received Peppol delivery notification", "value": "sales_invoice_send_si_delivered" }{ "label": "An error occurred while sending via Peppol", "value": "sales_invoice_send_si_error" }{ "label": "Invoice forwarded to Online incasso", "value": "sales_invoice_send_to_payt" }{ "label": "Invoice state changed to draft", "value": "sales_invoice_state_changed_to_draft" }{ "label": "Invoice has expired", "value": "sales_invoice_state_changed_to_late" }{ "label": "State of invoice changed to open", "value": "sales_invoice_state_changed_to_open" }{ "label": "Invoice has been paid", "value": "sales_invoice_state_changed_to_paid" }{ "label": "Invoice is pending payment", "value": "sales_invoice_state_changed_to_pending_payment" }{ "label": "Invoice state changed to reminded", "value": "sales_invoice_state_changed_to_reminded" }{ "label": "Invoice state changed to scheduled", "value": "sales_invoice_state_changed_to_scheduled" }{ "label": "Invoice state changed to uncollectible", "value": "sales_invoice_state_changed_to_uncollectible" }{ "label": "Processing of invoice has been resumed", "value": "sales_invoice_unpaused" }{ "label": "Invoice updated", "value": "sales_invoice_updated" }{ "label": "Payment notification email sent", "value": "send_payment_email" }{ "label": "Email after a failed payment sent", "value": "send_payment_unsuccessful_email" }{ "label": "Step assigned", "value": "subgoal_assigned" }{ "label": "Step completed", "value": "subgoal_completed" }{ "label": "Step not completed", "value": "subgoal_uncompleted" }{ "label": "Subscription cancelled", "value": "subscription_cancelled" }{ "label": "Subscription created", "value": "subscription_created" }{ "label": "Subscription deleted", "value": "subscription_destroyed" }{ "label": "Plan changed", "value": "subscription_edited" }{ "label": "Subscription updated", "value": "subscription_updated" }{ "label": "Activate VAT rate", "value": "tax_rate_activated" }{ "label": "VAT rate added", "value": "tax_rate_created" }{ "label": "VAT rate deactivated", "value": "tax_rate_deactivated" }{ "label": "VAT rate deleted", "value": "tax_rate_destroyed" }{ "label": "VAT rate updated", "value": "tax_rate_updated" }{ "label": "Time entry created", "value": "time_entry_created" }{ "label": "Time entry destroyed", "value": "time_entry_destroyed" }{ "label": "Time entry invoiced", "value": "time_entry_sales_invoice_created" }{ "label": "Time entry updated", "value": "time_entry_updated" }{ "label": "To-do completed", "value": "todo_completed" }{ "label": "To-do added", "value": "todo_created" }{ "label": "To-do deleted", "value": "todo_destroyed" }{ "label": "To-do viewed", "value": "todo_opened" }{ "label": "Ultimate beneficial owner created", "value": "ultimate_benificial_owner_created" }{ "label": "Ultimate beneficial owner updated", "value": "ultimate_benificial_owner_updated" }{ "label": "User invited", "value": "user_invited" }{ "label": "User invited for a call", "value": "user_invited_for_call" }{ "label": "User deleted", "value": "user_removed" }{ "label": "VAT-return filed", "value": "vat_return_created" }{ "label": "VAT-return is received by the tax authorities", "value": "vat_return_received" }{ "label": "VAT-return paid", "value": "vat_return_paid" }{ "label": "Digital VAT suppletion submitted", "value": "vat_suppletion_created" }{ "label": "Electronic vat-suppletion is received by the tax authority", "value": "vat_suppletion_received" }{ "label": "Workflow added", "value": "workflow_created" }{ "label": "Workflow deactivated", "value": "workflow_deactivated" }{ "label": "Workflow deleted", "value": "workflow_destroyed" }{ "label": "Workflow updated", "value": "workflow_updated" }{ "label": "Trigger", "value": "Event" }{ "label": "Administration activated", "value": "administration_activated" }{ "label": "Administration added", "value": "administration_added" }{ "label": "Removal of administration requested", "value": "administration_cancelled" }{ "label": "Administration updated", "value": "administration_changed" }{ "label": "Removal of administration requested", "value": "administration_deleted" }{ "label": "Administration reactivated", "value": "administration_reactivated" }{ "label": "Administration deleted", "value": "administration_removed" }{ "label": "Administration suspended", "value": "administration_suspended" }{ "label": "Activated automatic linking of transactions", "value": "administration_automatic_bookers_activated" }{ "label": "Deactivated automatic linking of transactions", "value": "administration_automatic_bookers_deactivated" }{ "label": "Data analysis permission withdrawn", "value": "administration_data_analysis_permission_unset" }{ "label": "Data analysis permission given", "value": "administration_data_analysis_permission_set" }{ "label": "Administration changed", "value": "administration_details_edited" }{ "label": "Moneybird Payments activated", "value": "administration_moneybird_payments_activated" }{ "label": "Activated payments without proof", "value": "administration_payments_without_proof_activated" }{ "label": "Deactivated payments without proof", "value": "administration_payments_without_proof_deactivated" }{ "label": "Locked period updated", "value": "administration_update_period_locked_until" }{ "label": "Adviser updated", "value": "adviser_updated" }{ "label": "Adviser created", "value": "adviser_created" }{ "label": "Adviser deleted", "value": "adviser_deleted" }{ "label": "Profile image added", "value": "adviser_updated_photo" }{ "label": "E-mail about concept state sent", "value": "adviser_email_concept_state_sent" }{ "label": "E-mail about published state sent", "value": "adviser_email_published_state_sent" }{ "label": "Experience created", "value": "adviser_experience_created" }{ "label": "Experience updated", "value": "adviser_experience_updated" }{ "label": "Experience deleted", "value": "adviser_experience_deleted" }{ "label": "Education created", "value": "adviser_education_created" }{ "label": "Education updated", "value": "adviser_education_updated" }{ "label": "Education deleted", "value": "adviser_education_deleted" }{ "label": "Company created", "value": "adviser_company_created" }{ "label": "Company updated", "value": "adviser_company_updated" }{ "label": "Company image added", "value": "adviser_company_photo" }{ "label": "Location created", "value": "adviser_company_location_created" }{ "label": "Location deleted", "value": "adviser_company_location_deleted" }{ "label": "Location created", "value": "advisers_location_created" }{ "label": "Location deleted", "value": "advisers_location_deleted" }{ "label": "Moneybird card created", "value": "adyen_payment_instrument_created" }{ "label": "Moneybird card updated", "value": "adyen_payment_instrument_updated" }{ "label": "Booking rule created", "value": "booking_rule_created" }{ "label": "Booking rule updated", "value": "booking_rule_updated" }{ "label": "Booking rule deleted", "value": "booking_rule_destroyed" }{ "label": "Contact archived", "value": "contact_archived" }{ "label": "Contact activated", "value": "contact_activated" }{ "label": "Contact updated", "value": "contact_changed" }{ "label": "Contact created", "value": "contact_created" }{ "label": "Contact created through checkout", "value": "contact_created_from_checkout_order" }{ "label": "Contact deleted", "value": "contact_destroyed" }{ "label": "Mandate request failed", "value": "contact_mandate_request_failed" }{ "label": "Mandate request sent", "value": "contact_mandate_request_initiated" }{ "label": "Mandate request succeeded", "value": "contact_mandate_request_succeeded" }{ "label": "Contact was merged", "value": "contact_merged" }{ "label": "Contact person created", "value": "contact_person_created" }{ "label": "Contact person deleted", "value": "contact_person_destroyed" }{ "label": "Contact person updated", "value": "contact_person_updated" }{ "label": "Credit note created based on invoice", "value": "credit_invoice_created_from_original" }{ "label": "Default sender address updated", "value": "default_identity_updated" }{ "label": "Default VAT rate added", "value": "default_tax_rate_created" }{ "label": "Bank link activated", "value": "direct_bank_link_activated" }{ "label": "Direct debit batch created", "value": "direct_debit_transaction_created" }{ "label": "Direct debit batch deleted", "value": "direct_debit_transaction_deleted" }{ "label": "Attachment couldn't be saved from email", "value": "document_attachment_skipped" }{ "label": "Document created based on an original document", "value": "document_created_from_original" }{ "label": "Document deleted", "value": "document_destroyed" }{ "label": "Document expired", "value": "document_expired" }{ "label": "Recurring document created", "value": "document_recurred" }{ "label": "Document saved", "value": "document_saved" }{ "label": "Document received by email", "value": "document_saved_from_email" }{ "label": "Document received via Peppol", "value": "document_saved_from_si" }{ "label": "Layout added", "value": "document_style_created" }{ "label": "Layout deleted", "value": "document_style_destroyed" }{ "label": "Layout updated", "value": "document_style_updated" }{ "label": "Document updated", "value": "document_updated" }{ "label": "Sending from your own domain has been disabled.", "value": "email_domain_deactivated" }{ "label": "Your domain is verified.", "value": "email_domain_validated" }{ "label": "Quote accepted online", "value": "estimate_accepted_contact" }{ "label": "Quote billed", "value": "estimate_billed" }{ "label": "Quote created", "value": "estimate_created" }{ "label": "Quote created based on the original quote", "value": "estimate_created_from_original" }{ "label": "Quote deleted", "value": "estimate_destroyed" }{ "label": "Quote marked as accepted", "value": "estimate_mark_accepted" }{ "label": "Quote archived", "value": "estimate_mark_archived" }{ "label": "Quote billed", "value": "estimate_mark_billed" }{ "label": "Quote marked as expired", "value": "estimate_mark_late" }{ "label": "Quote marked as open", "value": "estimate_mark_open" }{ "label": "Quote marked as rejected", "value": "estimate_mark_rejected" }{ "label": "Quote sent by email", "value": "estimate_send_email" }{ "label": "Quote marked as sent manually", "value": "estimate_send_manually" }{ "label": "Quote sent to %{address}", "value": "estimate_send_post" }{ "label": "Sending by mail cancelled", "value": "estimate_send_post_cancelled" }{ "label": "Sent by mail by Moneybird", "value": "estimate_send_post_confirmation" }{ "label": "Quote signed by sender", "value": "estimate_signed_sender" }{ "label": "Quote has expired", "value": "estimate_state_changed_to_late" }{ "label": "Quote updated", "value": "estimate_updated" }{ "label": "External invoice created", "value": "external_sales_invoice_created" }{ "label": "External invoice deleted", "value": "external_sales_invoice_destroyed" }{ "label": "Marked external invoice as dubious", "value": "external_sales_invoice_marked_as_dubious" }{ "label": "External invoice marked as uncollectible", "value": "external_sales_invoice_marked_as_uncollectible" }{ "label": "External invoice updated", "value": "external_sales_invoice_updated" }{ "label": "External invoice has expired", "value": "external_sales_invoice_state_changed_to_late" }{ "label": "State of external invoice changed to open", "value": "external_sales_invoice_state_changed_to_open" }{ "label": "External invoice has been paid", "value": "external_sales_invoice_state_changed_to_paid" }{ "label": "External invoice changed to uncollectible", "value": "external_sales_invoice_state_changed_to_uncollectible" }{ "label": "Beta feature turned on", "value": "feature_preference_opt_in" }{ "label": "Beta feature turned off", "value": "feature_preference_opt_out" }{ "label": "Feed entry snoozed", "value": "feed_entry_snoozed" }{ "label": "Feed entry unsnoozed", "value": "feed_entry_unsnoozed" }{ "label": "Account activated", "value": "financial_account_activated" }{ "label": "Account added", "value": "financial_account_created" }{ "label": "Account deactivated", "value": "financial_account_deactivated" }{ "label": "Account deleted", "value": "financial_account_destroyed" }{ "label": "Bank link created", "value": "financial_account_bank_link_created" }{ "label": "Bank link removed", "value": "financial_account_bank_link_destroyed" }{ "label": "Bank link updated", "value": "financial_account_bank_link_updated" }{ "label": "Account name changed", "value": "financial_account_renamed" }{ "label": "Financial statement added", "value": "financial_statement_created" }{ "label": "Financial statement deleted", "value": "financial_statement_destroyed" }{ "label": "Financial statement updated", "value": "financial_statement_updated" }{ "label": "Goal completed", "value": "goal_completed" }{ "label": "Goal not completed", "value": "goal_uncompleted" }{ "label": "Sender address added", "value": "identity_created" }{ "label": "Sender address deleted", "value": "identity_destroyed" }{ "label": "Sender address updated", "value": "identity_updated" }{ "label": "Category activated", "value": "ledger_account_activated" }{ "label": "Transaction booked on category", "value": "ledger_account_booking_created" }{ "label": "Link between transaction and category deleted", "value": "ledger_account_booking_destroyed" }{ "label": "Category added", "value": "ledger_account_created" }{ "label": "Category deactivated", "value": "ledger_account_deactivated" }{ "label": "Category deleted", "value": "ledger_account_destroyed" }{ "label": "Category updated", "value": "ledger_account_updated" }{ "label": "Link with Mollie created", "value": "mollie_credential_created" }{ "label": "Link with Mollie removed", "value": "mollie_credential_destroyed" }{ "label": "Note created", "value": "note_created" }{ "label": "Note deleted", "value": "note_destroyed" }{ "label": "Order placed", "value": "order_created" }{ "label": "Payment deleted", "value": "payment_destroyed" }{ "label": "Transaction linked to a financial mutation", "value": "payment_linked_to_financial_mutation" }{ "label": "Payment registered for invoice", "value": "payment_registered" }{ "label": "Thank You email was sent for payment", "value": "payment_send_email" }{ "label": "Payment method updated", "value": "payment_method_edited" }{ "label": "Direct debit transaction approved by bank", "value": "payment_transaction_authorized" }{ "label": "Direct debit transaction waiting for approval by bank", "value": "payment_transaction_awaiting_authorization" }{ "label": "Payment batch cancelled", "value": "payment_transaction_batch_cancelled" }{ "label": "Payment batch created", "value": "payment_transaction_batch_created" }{ "label": "Direct debit transaction being executing", "value": "payment_transaction_executing" }{ "label": "Direct debit transaction accepted", "value": "payment_transaction_paid" }{ "label": "Direct debit transaction pending", "value": "payment_transaction_pending" }{ "label": "Direct debit transaction rejected", "value": "payment_transaction_rejected" }{ "label": "Direct debit payment is technically approved by the bank", "value": "payment_transaction_technically_validated" }{ "label": "Ponto is connected", "value": "ponto_connected" }{ "label": "Ponto connection deleted", "value": "ponto_disconnected" }{ "label": "Ponto bank link activated", "value": "ponto_direct_bank_link_activated" }{ "label": "Ponto bank link expired", "value": "ponto_direct_bank_link_expired" }{ "label": "Product activated", "value": "product_activated" }{ "label": "Product created", "value": "product_created" }{ "label": "Product deactivated", "value": "product_deactivated" }{ "label": "Product deleted", "value": "product_destroyed" }{ "label": "Product updated", "value": "product_updated" }{ "label": "Project activated", "value": "project_activated" }{ "label": "Project added", "value": "project_created" }{ "label": "Project deactivated", "value": "project_archived" }{ "label": "Project deleted", "value": "project_destroyed" }{ "label": "Project updated", "value": "project_updated" }{ "label": "Transaction added to credit transfer batch", "value": "purchase_transaction_added_to_batch" }{ "label": "Payment authorized at bank", "value": "purchase_transaction_authorized" }{ "label": "Payment awaiting authorization at bank", "value": "purchase_transaction_awaiting_authorization" }{ "label": "Credit transfer batch cancelled", "value": "purchase_transaction_batch_cancelled" }{ "label": "Purchase transaction batch created", "value": "purchase_transaction_batch_created" }{ "label": "Transaction created", "value": "purchase_transaction_created" }{ "label": "Transaction deleted", "value": "purchase_transaction_deleted" }{ "label": "Payment in execution", "value": "purchase_transaction_executing" }{ "label": "Payment succeeded", "value": "purchase_transaction_paid" }{ "label": "Payment pending", "value": "purchase_transaction_pending" }{ "label": "Payment rejected", "value": "purchase_transaction_rejected" }{ "label": "Payment technically approved by the bank", "value": "purchase_transaction_technically_validated" }{ "label": "The invoice could not be sent automatically, sending automatically is disabled", "value": "recurring_sales_invoice_auto_send_forcefully_disabled" }{ "label": "Recurring invoice created", "value": "recurring_sales_invoice_created" }{ "label": "Recurring sales invoice created based on original invoice", "value": "recurring_sales_invoice_created_from_original" }{ "label": "Recurring invoices created based on the original recurring invoice", "value": "recurring_sales_invoice_created_from_original_recurring" }{ "label": "You have reached the maximum amount of invoices for this month. The recurring invoice is not created.", "value": "recurring_sales_invoice_creating_skipped_due_to_limits" }{ "label": "Recurring invoice deactivated", "value": "recurring_sales_invoice_deactivated" }{ "label": "Recurring invoice deleted", "value": "recurring_sales_invoice_destroyed" }{ "label": "Sales invoice created", "value": "recurring_sales_invoice_invoice_created" }{ "label": "Sending automatically enabled", "value": "recurring_sales_invoice_started_auto_send" }{ "label": "Sending automatically disabled", "value": "recurring_sales_invoice_stopped_auto_send" }{ "label": "Recurring invoice updated", "value": "recurring_sales_invoice_updated" }{ "label": "Invoice created", "value": "sales_invoice_created" }{ "label": "Invoice created based on quote", "value": "sales_invoice_created_based_on_estimate" }{ "label": "Invoice created based on recurring invoice", "value": "sales_invoice_created_based_on_recurring" }{ "label": "Invoice created based on subscription", "value": "sales_invoice_created_based_on_subscription" }{ "label": "Sales invoice created through checkout", "value": "sales_invoice_created_from_checkout_order" }{ "label": "Invoice created based on original invoice", "value": "sales_invoice_created_from_original" }{ "label": "Invoice deleted", "value": "sales_invoice_destroyed" }{ "label": "Invoice marked as dubious", "value": "sales_invoice_marked_as_dubious" }{ "label": "Invoice was marked as irrecoverable", "value": "sales_invoice_marked_as_uncollectible" }{ "label": "Invoice has been merged with another invoice before sending", "value": "sales_invoice_merged" }{ "label": "Invoice has been merged with other recurring invoices before sending", "value": "sales_invoice_merged_with_recurring_sales_invoice" }{ "label": "Processing of invoice has been paused", "value": "sales_invoice_paused" }{ "label": "Revert marking as dubious", "value": "sales_invoice_revert_dubious" }{ "label": "Invoice marked as uncollectible", "value": "sales_invoice_revert_uncollectible" }{ "label": "Invoice sent by email", "value": "sales_invoice_send_email" }{ "label": "Invoice manually marked as sent", "value": "sales_invoice_send_manually" }{ "label": "Invoice sent by mail", "value": "sales_invoice_send_post" }{ "label": "Invoice sent via mail by Moneybird", "value": "sales_invoice_send_post_confirmation" }{ "label": "Sending by mail cancelled", "value": "sales_invoice_send_post_cancelled" }{ "label": "Reminder for this sales invoice sent by email", "value": "sales_invoice_send_reminder_email" }{ "label": "Reminder sent manually", "value": "sales_invoice_send_reminder_manually" }{ "label": "Reminder sent by mail", "value": "sales_invoice_send_reminder_post" }{ "label": "Invoice reminder sent by mail by Moneybird", "value": "sales_invoice_send_reminder_post_confirmation" }{ "label": "Invoice sent via Peppol", "value": "sales_invoice_send_si" }{ "label": "Received Peppol delivery notification", "value": "sales_invoice_send_si_delivered" }{ "label": "An error occurred while sending via Peppol", "value": "sales_invoice_send_si_error" }{ "label": "Invoice forwarded to Online incasso", "value": "sales_invoice_send_to_payt" }{ "label": "Invoice state changed to draft", "value": "sales_invoice_state_changed_to_draft" }{ "label": "Invoice has expired", "value": "sales_invoice_state_changed_to_late" }{ "label": "State of invoice changed to open", "value": "sales_invoice_state_changed_to_open" }{ "label": "Invoice has been paid", "value": "sales_invoice_state_changed_to_paid" }{ "label": "Invoice is pending payment", "value": "sales_invoice_state_changed_to_pending_payment" }{ "label": "Invoice state changed to reminded", "value": "sales_invoice_state_changed_to_reminded" }{ "label": "Invoice state changed to scheduled", "value": "sales_invoice_state_changed_to_scheduled" }{ "label": "Invoice state changed to uncollectible", "value": "sales_invoice_state_changed_to_uncollectible" }{ "label": "Processing of invoice has been resumed", "value": "sales_invoice_unpaused" }{ "label": "Invoice updated", "value": "sales_invoice_updated" }{ "label": "Payment notification email sent", "value": "send_payment_email" }{ "label": "Email after a failed payment sent", "value": "send_payment_unsuccessful_email" }{ "label": "Step assigned", "value": "subgoal_assigned" }{ "label": "Step completed", "value": "subgoal_completed" }{ "label": "Step not completed", "value": "subgoal_uncompleted" }{ "label": "Subscription cancelled", "value": "subscription_cancelled" }{ "label": "Subscription created", "value": "subscription_created" }{ "label": "Subscription deleted", "value": "subscription_destroyed" }{ "label": "Plan changed", "value": "subscription_edited" }{ "label": "Subscription updated", "value": "subscription_updated" }{ "label": "Activate VAT rate", "value": "tax_rate_activated" }{ "label": "VAT rate added", "value": "tax_rate_created" }{ "label": "VAT rate deactivated", "value": "tax_rate_deactivated" }{ "label": "VAT rate deleted", "value": "tax_rate_destroyed" }{ "label": "VAT rate updated", "value": "tax_rate_updated" }{ "label": "Time entry created", "value": "time_entry_created" }{ "label": "Time entry destroyed", "value": "time_entry_destroyed" }{ "label": "Time entry invoiced", "value": "time_entry_sales_invoice_created" }{ "label": "Time entry updated", "value": "time_entry_updated" }{ "label": "To-do completed", "value": "todo_completed" }{ "label": "To-do added", "value": "todo_created" }{ "label": "To-do deleted", "value": "todo_destroyed" }{ "label": "To-do viewed", "value": "todo_opened" }{ "label": "Ultimate beneficial owner created", "value": "ultimate_benificial_owner_created" }{ "label": "Ultimate beneficial owner updated", "value": "ultimate_benificial_owner_updated" }{ "label": "User invited", "value": "user_invited" }{ "label": "User invited for a call", "value": "user_invited_for_call" }{ "label": "User deleted", "value": "user_removed" }{ "label": "VAT-return filed", "value": "vat_return_created" }{ "label": "VAT-return is received by the tax authorities", "value": "vat_return_received" }{ "label": "VAT-return paid", "value": "vat_return_paid" }{ "label": "Digital VAT suppletion submitted", "value": "vat_suppletion_created" }{ "label": "Electronic vat-suppletion is received by the tax authority", "value": "vat_suppletion_received" }{ "label": "Workflow added", "value": "workflow_created" }{ "label": "Workflow deactivated", "value": "workflow_deactivated" }{ "label": "Workflow deleted", "value": "workflow_destroyed" }{ "label": "Workflow updated", "value": "workflow_updated" }

Trigger Authentication

Moneybird uses OAuth authentication. When you connect your Moneybird account, Pipedream will open a popup window where you can sign into Moneybird and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Moneybird API.

Pipedream requests the following authorization scopes when you connect your account:

sales_invoicesdocumentsestimatesbanksettingstime_entries

About Moneybird

Accounting software

Action

Description:Updates the configuration settings for a specific assistant. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update)
Version:0.0.1
Key:vapi-update-assistant-settings

Vapi Overview

The Vapi API delivers voice automation capabilities, letting you build powerful voice response systems. With Vapi, you can automate calls, send voice messages, and create dynamic interactions through speech recognition and text-to-speech. Pipedream's serverless platform allows you to integrate Vapi's API with numerous other services to automate workflows, react to events, and orchestrate complex voice-enabled processes.

Action Code

import {
  BACKGROUND_SOUND,
  CLIENT_MESSAGE_OPTIONS,
  FIRST_MESSAGE_MODE_OPTIONS,
  SERVER_MESSAGE_OPTIONS,
} from "../../common/constants.mjs";
import {
  clearObj,
  parseObject,
} from "../../common/utils.mjs";
import vapi from "../../vapi.app.mjs";

export default {
  key: "vapi-update-assistant-settings",
  name: "Update Assistant Settings",
  description: "Updates the configuration settings for a specific assistant. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update)",
  version: "0.0.1",
  type: "action",
  props: {
    vapi,
    assistantId: {
      propDefinition: [
        vapi,
        "assistantId",
      ],
    },
    transcriber: {
      type: "object",
      label: "Transcriber",
      description: "A formatted JSON object for the assistant's transcriber. **Example: { \"provider\": \"talkscriber\", \"language\": \"en\", \"model\": \"whisper\" }**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    model: {
      type: "object",
      label: "Model",
      description: "A formatted JSON object for the assistant's LLM. **Example: {\"provider\": \"xai\", \"model\": \"grok-beta\", \"emotionRecognitionEnabled\": true, \"knowledgeBase\": {\"server\": {\"url\": \"url\", \"timeoutSeconds\": 20}}, \"knowledgeBaseId\": \"model\", \"maxTokens\": 1.1, \"messages\": [{\"role\": \"assistant\"}], \"numFastTurns\": 1.1, \"temperature\": 1.1, \"toolIds\": [\"model\"], \"tools\": [{\"type\": \"transferCall\", \"async\": false}]}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    voice: {
      type: "object",
      label: "Voice",
      description: "A formatted JSON object for the assistant's voice. **Example: {\"provider\":\"tavus\",\"voiceId\":\"r52da2535a\",\"callbackUrl\":\"voice\",\"chunkPlan\":{\"enabled\":true,\"minCharacters\":30,\"punctuationBoundaries\":[\"。\",\",\",\".\",\"!\",\"?\",\";\",\"،\",\",\",\"।\",\"॥\",\"|\",\"||\",\",\",\":\"],\"formatPlan\":{\"enabled\":true,\"numberToDigitsCutoff\":2025}},\"conversationName\":\"voice\",\"conversationalContext\":\"voice\",\"customGreeting\":\"voice\",\"fallbackPlan\":{\"voices\":[{\"provider\":\"tavus\",\"voiceId\":\"r52da2535a\"}]},\"personaId\":\"voice\",\"properties\":{\"maxCallDuration\":1.1,\"participantLeftTimeout\":1.1,\"participantAbsentTimeout\":1.1,\"enableRecording\":true,\"enableTranscription\":true,\"applyGreenscreen\":true,\"language\":\"language\",\"recordingS3BucketName\":\"recordingS3BucketName\",\"recordingS3BucketRegion\":\"recordingS3BucketRegion\",\"awsAssumeRoleArn\":\"awsAssumeRoleArn\"}}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    firstMessage: {
      type: "string",
      label: "First Message",
      description: "The first message the assistant will say or a URL to an audio file. If unspecified, assistant will wait for user to speak and use the model to respond once they speak.",
      optional: true,
    },
    firstMessageMode: {
      type: "string",
      label: "First Message Mode",
      description: "Mode for the first message",
      optional: true,
      options: FIRST_MESSAGE_MODE_OPTIONS,
    },
    hipaaEnabled: {
      type: "boolean",
      label: "HIPAA Enabled",
      description: "When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server.",
      optional: true,
    },
    clientMessages: {
      type: "string[]",
      label: "Client Messages",
      description: "These are the messages that will be sent to your Client SDKs",
      options: CLIENT_MESSAGE_OPTIONS,
      optional: true,
    },
    serverMessages: {
      type: "string[]",
      label: "Server Messages",
      description: "These are the messages that will be sent to your Server URL",
      options: SERVER_MESSAGE_OPTIONS,
      optional: true,
    },
    silenceTimeoutSeconds: {
      type: "integer",
      label: "Silence Timeout Seconds",
      description: "How many seconds of silence to wait before ending the call.",
      optional: true,
      default: 30,
      min: 10,
      max: 3600,
    },
    maxDurationSeconds: {
      type: "integer",
      label: "Max Duration Seconds",
      description: "This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended.",
      optional: true,
      default: 600,
      min: 10,
      max: 43200,
    },
    backgroundSound: {
      type: "string",
      label: "Background Sound",
      description: "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.",
      optional: true,
      options: BACKGROUND_SOUND,
    },
    backgroundDenoisingEnabled: {
      type: "boolean",
      label: "Background Denoising Enabled",
      description: "This enables filtering of noise and background speech while the user is talking. Default false while in beta.",
      optional: true,
    },
    modelOutputInMessagesEnabled: {
      type: "boolean",
      label: "Model Output in Messages Enabled",
      description: "This determines whether the model's output is used in conversation history rather than the transcription of assistant's speech. Default false while in beta.",
      optional: true,
    },
    transportConfigurations: {
      type: "string[]",
      label: "Transport Configurations",
      description: "These are the configurations to be passed to the transport providers of assistant's calls, like Twilio. You can store multiple configurations for different transport providers. For a call, only the configuration matching the call transport provider is used. **Example: [{\"provider\":\"twilio\",\"timeout\":60,\"record\":false,\"recordingChannels\":\"mono\"}]**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    credentials: {
      type: "string[]",
      label: "Credentials",
      description: "These are dynamic credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials. **Example: [{\"provider\":\"xai\",\"apiKey\":\"credentials\",\"name\":\"credentials\"}]**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    name: {
      type: "string",
      label: "Name",
      description: "Name of the assistant. This is required when you want to transfer between assistants in a call.",
      optional: true,
    },
    voicemailDetection: {
      type: "object",
      label: "Voicemail Detection",
      description: "These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool]. This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached. You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not. **Example: {\"provider\":\"twilio\",\"voicemailDetectionTypes\":[\"machine_end_beep\",\"machine_end_silence\"],\"enabled\":true,\"machineDetectionTimeout\":1.1,\"machineDetectionSpeechThreshold\":1.1,\"machineDetectionSpeechEndThreshold\":1.1,\"machineDetectionSilenceTimeout\":1.1}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    voicemailMessage: {
      type: "string",
      label: "Voicemail Message",
      description: "This is the message that the assistant will say if the call is forwarded to voicemail. If unspecified, it will hang up",
      optional: true,
    },
    endCallMessage: {
      type: "string",
      label: "End Call Message",
      description: "This is the message that the assistant will say if it ends the call. If unspecified, it will hang up without saying anything",
      optional: true,
    },
    endCallPhrases: {
      type: "string[]",
      label: "End Call Phrases",
      description: "A list containing phrases that, if spoken by the assistant, will trigger the call to be hung up. Case insensitive.",
      optional: true,
    },
    metadata: {
      type: "object",
      label: "Metadata",
      description: "This is for metadata you want to store on the assistant.",
      optional: true,
    },
    analysisPlan: {
      type: "object",
      label: "Analysis Plan",
      description: "This is the plan for analysis of assistant's calls. Stored in `call.analysis`. **Example: {\"summaryPlan\":{\"messages\":[{\"key\":\"value\"}],\"enabled\":true,\"timeoutSeconds\":1.1},\"structuredDataPlan\":{\"messages\":[{\"key\":\"value\"}],\"enabled\":true,\"schema\":{\"type\":\"string\"},\"timeoutSeconds\":1.1},\"successEvaluationPlan\":{\"rubric\":\"NumericScale\",\"messages\":[{\"key\":\"value\"}],\"enabled\":true,\"timeoutSeconds\":1.1}}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    artifactPlan: {
      type: "object",
      label: "Artifact Plan",
      description: "This is the plan for artifacts generated during assistant's calls. Stored in call.artifact. **Note:** `recordingEnabled` is currently at the root level. It will be moved to `artifactPlan` in the future, but will remain backwards compatible. **Example: {\"recordingEnabled\":true,\"videoRecordingEnabled\":false,\"transcriptPlan\":{\"enabled\":true,\"assistantName\":\"assistantName\",\"userName\":\"userName\"},\"recordingPath\":\"recordingPath\"}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    messagePlan: {
      type: "object",
      label: "Message Plan",
      description: "This is the plan for static predefined messages that can be spoken by the assistant during the call, like idleMessages. **Note:** `firstMessage`, `voicemailMessage`, and `endCallMessage` are currently at the root level. They will be moved to `messagePlan` in the future, but will remain backwards compatible. **Example: {\"idleMessages\":[\"idleMessages\"],\"idleMessageMaxSpokenCount\":1.1,\"idleTimeoutSeconds\":1.1}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    startSpeakingPlan: {
      type: "object",
      label: "Start Speaking Plan",
      description: "This is the plan for when the assistant should start talking. **Example: {\"waitSeconds\":0.4,\"smartEndpointingEnabled\":false,\"customEndpointingRules\":[{\"type\":\"both\",\"assistantRegex\":\"customEndpointingRules\",\"customerRegex\":\"customEndpointingRules\",\"timeoutSeconds\":1.1}],\"transcriptionEndpointingPlan\":{\"onPunctuationSeconds\":0.1,\"onNoPunctuationSeconds\":1.5,\"onNumberSeconds\":0.5}}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    stopSpeakingPlan: {
      type: "object",
      label: "Stop Speaking Plan",
      description: "This is the plan for when assistant should stop talking on customer interruption. **Example: {\"numWords\":0,\"voiceSeconds\":0.2,\"backoffSeconds\":1}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    monitorPlan: {
      type: "object",
      label: "Monitor Plan",
      description: "This is the plan for real-time monitoring of the assistant's calls. **Note:** `serverMessages`, `clientMessages`, `serverUrl` and `serverUrlSecret` are currently at the root level but will be moved to `monitorPlan` in the future. Will remain backwards compatible. **Example: {\"listenEnabled\":false,\"controlEnabled\":false}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
    credentialIds: {
      type: "string[]",
      label: "Credential IDs",
      description: "These are the credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can provide a subset using this.",
      optional: true,
    },
    server: {
      type: "object",
      label: "Server",
      description: "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. **Example: {\"url\":\"url\",\"timeoutSeconds\":20,\"secret\":\"secret\",\"headers\":{\"key\":\"value\"}}**. [See the documentation](https://docs.vapi.ai/api-reference/assistants/update) for further details",
      optional: true,
    },
  },
  async run({ $ }) {
    const {
      vapi,
      assistantId,
      transcriber,
      model,
      voice,
      clientMessages,
      serverMessages,
      transportConfigurations,
      credentials,
      voicemailDetection,
      endCallPhrases,
      metadata,
      analysisPlan,
      artifactPlan,
      messagePlan,
      startSpeakingPlan,
      stopSpeakingPlan,
      monitorPlan,
      credentialIds,
      server,
      ...data
    } = this;

    const response = await vapi.updateAssistant({
      $,
      assistantId,
      data: clearObj({
        ...data,
        transcriber: parseObject(transcriber),
        model: parseObject(model),
        voice: parseObject(voice),
        clientMessages: parseObject(clientMessages),
        serverMessages: parseObject(serverMessages),
        transportConfigurations: parseObject(transportConfigurations),
        credentials: parseObject(credentials),
        voicemailDetection: parseObject(voicemailDetection),
        endCallPhrases: parseObject(endCallPhrases),
        metadata: parseObject(metadata),
        analysisPlan: parseObject(analysisPlan),
        artifactPlan: parseObject(artifactPlan),
        messagePlan: parseObject(messagePlan),
        startSpeakingPlan: parseObject(startSpeakingPlan),
        stopSpeakingPlan: parseObject(stopSpeakingPlan),
        monitorPlan: parseObject(monitorPlan),
        credentialIds: parseObject(credentialIds),
        server: parseObject(server),
      }),
    });
    $.export("$summary", `Updated assistant ${this.assistantId} successfully`);
    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
VapivapiappThis component uses the Vapi app.
Assistant IDassistantIdstringSelect a value from the drop down menu.
Transcribertranscriberobject

A formatted JSON object for the assistant's transcriber. Example: { "provider": "talkscriber", "language": "en", "model": "whisper" }. See the documentation for further details

Modelmodelobject

A formatted JSON object for the assistant's LLM. Example: {"provider": "xai", "model": "grok-beta", "emotionRecognitionEnabled": true, "knowledgeBase": {"server": {"url": "url", "timeoutSeconds": 20}}, "knowledgeBaseId": "model", "maxTokens": 1.1, "messages": [{"role": "assistant"}], "numFastTurns": 1.1, "temperature": 1.1, "toolIds": ["model"], "tools": [{"type": "transferCall", "async": false}]}. See the documentation for further details

Voicevoiceobject

A formatted JSON object for the assistant's voice. Example: {"provider":"tavus","voiceId":"r52da2535a","callbackUrl":"voice","chunkPlan":{"enabled":true,"minCharacters":30,"punctuationBoundaries":["。",",",".","!","?",";","،",",","।","॥","|","||",",",":"],"formatPlan":{"enabled":true,"numberToDigitsCutoff":2025}},"conversationName":"voice","conversationalContext":"voice","customGreeting":"voice","fallbackPlan":{"voices":[{"provider":"tavus","voiceId":"r52da2535a"}]},"personaId":"voice","properties":{"maxCallDuration":1.1,"participantLeftTimeout":1.1,"participantAbsentTimeout":1.1,"enableRecording":true,"enableTranscription":true,"applyGreenscreen":true,"language":"language","recordingS3BucketName":"recordingS3BucketName","recordingS3BucketRegion":"recordingS3BucketRegion","awsAssumeRoleArn":"awsAssumeRoleArn"}}. See the documentation for further details

First MessagefirstMessagestring

The first message the assistant will say or a URL to an audio file. If unspecified, assistant will wait for user to speak and use the model to respond once they speak.

First Message ModefirstMessageModestringSelect a value from the drop down menu:{ "label": "Assistant Speaks First", "value": "assistant-speaks-first" }{ "label": "Assistant Waits for User", "value": "assistant-waits-for-user" }{ "label": "Assistant Speaks First with Model Generated Message", "value": "assistant-speaks-first-with-model-generated-message" }
HIPAA EnabledhipaaEnabledboolean

When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server.

Client MessagesclientMessagesstring[]Select a value from the drop down menu:conversation-updatefunction-callfunction-call-resulthanglanguage-changedmetadatamodel-outputspeech-updatestatus-updatetranscripttool-callstool-calls-resulttransfer-updateuser-interruptedvoice-input
Server MessagesserverMessagesstring[]Select a value from the drop down menu:conversation-updateend-of-call-reportfunction-callhanglanguage-changedlanguage-change-detectedmodel-outputphone-call-controlspeech-updatestatus-updatetranscripttranscript[transcriptType="final"]tool-callstransfer-destination-requesttransfer-updateuser-interruptedvoice-input
Silence Timeout SecondssilenceTimeoutSecondsinteger

How many seconds of silence to wait before ending the call.

Max Duration SecondsmaxDurationSecondsinteger

This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended.

Background SoundbackgroundSoundstringSelect a value from the drop down menu:{ "label": "Office", "value": "office" }{ "label": "Off", "value": "off" }
Background Denoising EnabledbackgroundDenoisingEnabledboolean

This enables filtering of noise and background speech while the user is talking. Default false while in beta.

Model Output in Messages EnabledmodelOutputInMessagesEnabledboolean

This determines whether the model's output is used in conversation history rather than the transcription of assistant's speech. Default false while in beta.

Transport ConfigurationstransportConfigurationsstring[]

These are the configurations to be passed to the transport providers of assistant's calls, like Twilio. You can store multiple configurations for different transport providers. For a call, only the configuration matching the call transport provider is used. Example: [{"provider":"twilio","timeout":60,"record":false,"recordingChannels":"mono"}]. See the documentation for further details

Credentialscredentialsstring[]

These are dynamic credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials. Example: [{"provider":"xai","apiKey":"credentials","name":"credentials"}]. See the documentation for further details

Namenamestring

Name of the assistant. This is required when you want to transfer between assistants in a call.

Voicemail DetectionvoicemailDetectionobject

These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool]. This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached. You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not. Example: {"provider":"twilio","voicemailDetectionTypes":["machine_end_beep","machine_end_silence"],"enabled":true,"machineDetectionTimeout":1.1,"machineDetectionSpeechThreshold":1.1,"machineDetectionSpeechEndThreshold":1.1,"machineDetectionSilenceTimeout":1.1}. See the documentation for further details

Voicemail MessagevoicemailMessagestring

This is the message that the assistant will say if the call is forwarded to voicemail. If unspecified, it will hang up

End Call MessageendCallMessagestring

This is the message that the assistant will say if it ends the call. If unspecified, it will hang up without saying anything

End Call PhrasesendCallPhrasesstring[]

A list containing phrases that, if spoken by the assistant, will trigger the call to be hung up. Case insensitive.

Metadatametadataobject

This is for metadata you want to store on the assistant.

Analysis PlananalysisPlanobject

This is the plan for analysis of assistant's calls. Stored in call.analysis. Example: {"summaryPlan":{"messages":[{"key":"value"}],"enabled":true,"timeoutSeconds":1.1},"structuredDataPlan":{"messages":[{"key":"value"}],"enabled":true,"schema":{"type":"string"},"timeoutSeconds":1.1},"successEvaluationPlan":{"rubric":"NumericScale","messages":[{"key":"value"}],"enabled":true,"timeoutSeconds":1.1}}. See the documentation for further details

Artifact PlanartifactPlanobject

This is the plan for artifacts generated during assistant's calls. Stored in call.artifact. Note: recordingEnabled is currently at the root level. It will be moved to artifactPlan in the future, but will remain backwards compatible. Example: {"recordingEnabled":true,"videoRecordingEnabled":false,"transcriptPlan":{"enabled":true,"assistantName":"assistantName","userName":"userName"},"recordingPath":"recordingPath"}. See the documentation for further details

Message PlanmessagePlanobject

This is the plan for static predefined messages that can be spoken by the assistant during the call, like idleMessages. Note: firstMessage, voicemailMessage, and endCallMessage are currently at the root level. They will be moved to messagePlan in the future, but will remain backwards compatible. Example: {"idleMessages":["idleMessages"],"idleMessageMaxSpokenCount":1.1,"idleTimeoutSeconds":1.1}. See the documentation for further details

Start Speaking PlanstartSpeakingPlanobject

This is the plan for when the assistant should start talking. Example: {"waitSeconds":0.4,"smartEndpointingEnabled":false,"customEndpointingRules":[{"type":"both","assistantRegex":"customEndpointingRules","customerRegex":"customEndpointingRules","timeoutSeconds":1.1}],"transcriptionEndpointingPlan":{"onPunctuationSeconds":0.1,"onNoPunctuationSeconds":1.5,"onNumberSeconds":0.5}}. See the documentation for further details

Stop Speaking PlanstopSpeakingPlanobject

This is the plan for when assistant should stop talking on customer interruption. Example: {"numWords":0,"voiceSeconds":0.2,"backoffSeconds":1}. See the documentation for further details

Monitor PlanmonitorPlanobject

This is the plan for real-time monitoring of the assistant's calls. Note: serverMessages, clientMessages, serverUrl and serverUrlSecret are currently at the root level but will be moved to monitorPlan in the future. Will remain backwards compatible. Example: {"listenEnabled":false,"controlEnabled":false}. See the documentation for further details

Credential IDscredentialIdsstring[]

These are the credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can provide a subset using this.

Serverserverobject

This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. Example: {"url":"url","timeoutSeconds":20,"secret":"secret","headers":{"key":"value"}}. See the documentation for further details

Action Authentication

Vapi uses API keys for authentication. When you connect your Vapi account, Pipedream securely stores the keys so you can easily authenticate to Vapi APIs in both code and no-code steps.

About Vapi

Vapi is the platform to build, test and deploy voicebots in minutes rather than months.

More Ways to Connect Vapi + Moneybird

Create Call with Vapi API on New Webhook event from Moneybird API
Moneybird + Vapi
 
Try it
Upload File with Vapi API on New Webhook event from Moneybird API
Moneybird + Vapi
 
Try it
Create Contact with Moneybird API on New Conversation Started from Vapi API
Vapi + Moneybird
 
Try it
Create Quote with Moneybird API on New Conversation Started from Vapi API
Vapi + Moneybird
 
Try it
Create Sale Invoice with Moneybird API on New Conversation Started from Vapi API
Vapi + Moneybird
 
Try it
New Webhook event from the Moneybird API

Emit new event on each webhook event. See docs here

 
Try it
New Conversation Started from the Vapi API

Emit new event when a voicebot starts a conversation.

 
Try it
Create Contact with the Moneybird API

Create a new contact. See docs here

 
Try it
Create Quote with the Moneybird API

Create a new quote. See docs here

 
Try it
Create Sale Invoice with the Moneybird API

Create a sale invoice. See docs here

 
Try it
Create Call with the Vapi API

Starts a new conversation with an assistant. See the documentation

 
Try it
Update Assistant Settings with the Vapi API

Updates the configuration settings for a specific assistant. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,700+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Pinterest
Pinterest
Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more.
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.