Plum Voice Resource Center

Cover all your bases for your voice automation project. Learn best practices, what's possible with Plum's products, how to do it, and more using our extensive resources.

Start Your Trial
Talk with Sales

Latest in the Blog

IVR That Saves $5M per Month

Automation has a lot of benefits, like faster, more efficient customer service, increasing customer satisfaction, and improving customer experiences. It can also save companies a lot of money. For some companies ‘a lot’ of money is A LOT. See how one of Plum’s clients used IVR to take cost savings to new heights, and reaped additional benefits along the way...

Code of the day

<block>

This element is a form item. It contains executable content that is executed if the block's form item variable is undefined and the block's cond attribute, if any, evaluates to true.
<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <!-- This block will be executed first. -->
    <block>
      <prompt>
        Setting block condition variables.
      </prompt>
      <assign name="blockcond1" expr="true"/>
      <assign name="blockcond2" expr="false"/>
    </block>
    <!-- This block will be executed because "blockcond1" is "true". -->
    <block name="myblock1" cond="blockcond1">
      <prompt>
        This prompt will play.
      </prompt>
    </block>
    <!-- This block will not be executed since "blockcond2" is "false". -->
    <block name="myblock2" cond="blockcond2">
      <prompt>
        This prompt will not play.
      </prompt>
    </block>
  </form>
</vxml>