Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

      May 16, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Artificial Intelligence»Redact PII in Audio with Make and AssemblyAI

    Redact PII in Audio with Make and AssemblyAI

    April 25, 2024

    Make (formerly Integromat) is a workflow automation tool that lets you integrate various services without requiring coding knowledge. With the AssemblyAI app for Make you can use our AI models to process audio data by transcribing it with speech recognition models, analyzing it with audio intelligence models, and building generative features on top of it with LLMs.

    In this tutorial, you’ll create a Make scenario that watches a Google Drive folder for new audio files, and then creates both a transcript and an audio file in which PII is redacted.

    Note

    We’re using Google Drive as the source of audio files, but you could pull them from any source including e.g. AWS S3. If the audio files already have public URLs, you don’t need to upload them to AssemblyAI.

    Build a PII redaction scenario

    Sign up or log into your Make account.

    Create a new scenario and set the Google Drive Watch Files in a Folder as the trigger.
    If this is the first time you’re creating a Google Drive module, you’ll need to create a new connection and select it.
    Configure the trigger to watch a specific folder in your Google Drive where you will upload your audio files. Let’s assume this folder is named media.

    Next, add a Google Drive Download a File module connected to the trigger, and configure the File ID with the File ID from the trigger.

    Right-click on the connection between the trigger and Download a File module, and click on Set up a filter. Configure the filter condition so that it is true when the file name does not contain the word “redacted”.

    Later, when your scenario is fully built, your scenario will upload the redacted transcript and audio back to Google Drive. As a result, those uploaded redacted files will trigger your scenario again, but you don’t want to run the scenario for the files that have been redacted already.

    Add an AssemblyAI Upload a File module, to the Download a File module you just defined. The Google Drive file should automatically be selected.
    If this is the first time you added an AssemblyAI module, you’ll need to create a connection and select it.

    Add an AssemblyAI Transcribe an Audio File module. Since this module has a lot of parameters, I recommend clicking on the three dots button and then clicking on Collapse all.

    Pass the Uploaded File URL from the previous module to the Audio URL parameter.

    Configure the PII redaction model by setting the following parameters:

    Set Redact PII to Yes
    Set Redact PII Audio to Yes
    Configure at least on PII policy in the Redact PII Policies list

    Add an AssemblyAI Get Redacted Audio of a Transcript and pass the transcript ID from the Transcribe an Audio File module to the Transcript ID parameter.

    Create a Google Drive Create a File from Text module and configure the parameters:

    Set New text File Location to the media folder
    Set File Name to the Original Filename from the Google Drive Download a File module, but replace the file extension of the file name with redacted.txt
    Set File Content to the Text property from the AssemblyAI Transcribe an Audio File module

    Warning

    The Transcribe an Audio File module output has multiple Text properties, some of which are nested inside other objects and arrays. Use the Text property from the root of the output.

    Warning

    The output you see from the Transcribe an Audio File module is sample data if you haven’t run the scenario before. Once the scenario has run, it’ll use real data.

    Add a Google Drive Upload a File module and configure the parameters:

    Set New Folder Location to media
    Select Map under the File parameter

    Set File Name to the Original Filename from the Google Drive Download a File module, but replace the file extension of the file name with redacted.mp3
    Set Data to the redacted_audio_file property from the Get Redacted Audio of a Transcript module.

    Your scenario is complete. Save it and let’s test it out.

    Go to Google Drive and upload an audio file to the media folder. Now, switch back to your Make scenario and click the Run once button. Here’s a sample audio file of a phone call that you can use.
    Once your scenario is finished, you should see the transcript and redacted audio file appear in your Google Drive folder.

    Conclusion

    You just learned how to build a Make scenario that redacts PII from audio files from Google Drive. Instead of Google Drive, you could plug in other file services, CRMs, or wherever you store your audio files, as long as there’s an app available for your service in Make to download and upload your files.

    You can do a lot more with the AssemblyAI app. You can use additional speech recognition features, analyze your audio with audio intelligence models, and build generative features with LeMUR. Check out the AssemblyAI app for Make documentation to learn more.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleLLM agents can autonomously exploit one-day vulnerabilities
    Next Article Mapping the brain pathways of visual memorability

    Related Posts

    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 16, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-47916 – Invision Community Themeeditor Remote Code Execution

    May 16, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    IBM AI Team Releases an Open-Source Family of Granite Code Models for Making Coding Easier for Software Developers

    Development

    Docker MCP Catalog to launch next month with 100+ verified MCP tools

    Tech & Work

    CLI Experiments : Dashboard (Part 2)

    Development

    Top 30 AI Tools for Designers in 2025

    Web Development
    Hostinger

    Highlights

    Artificial Intelligence

    Last Week in AI #283 – Falcon Mamba 7B, Figure 2, VFusion3D, and more!

    August 13, 2024

    Top News TII Unveils Falcon Mamba 7B, A New Open-Source State Space Language Model The…

    Katy Perry Didn’t Attend the Met Gala, But AI Made Her the Star of the Night

    May 8, 2025

    Top Parseur alternatives to automate data extraction

    November 11, 2024

    Using ideas from game theory to improve the reliability of language models

    May 14, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.