Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Export/import bot flows with Terraform

    Posted 08-27-2025 14:42

    Hello,

    Does anyone know if it's possible to export/import "Digital Bot" or "Bot Flows" apps via Terraform? I'm trying to do it using the following configuration, but it doesn't work.

    terraform {
      required_providers {
        genesyscloud = {
          source  = "mypurecloud/genesyscloud"
        }
      }
    }

    resource "genesyscloud_tf_export" "include-filter" {
      directory                                = "./Primesys"
      replace_with_datasource                 = ["genesyscloud_auth_division::Home"]
      export_as_hcl                            = true
      log_permission_errors                    = true
      include_state_file                       = true
      enable_dependency_resolution             = false
      split_files_by_resource                  = true
      ignore_cyclic_deps                       = true
      use_legacy_architect_flow_exporter     = false
      include_filter_resources                 = ["genesyscloud_flow::Bot*"]
    }

    thanks


    #Architect
    #CXasCode

    ------------------------------
    Julio Fernandes
    ------------------------------


  • 2.  RE: Export/import bot flows with Terraform

    Posted 09-02-2025 04:05

    It is possible yes, your filter will include any flows that have the word "Bot" (Case sensitive) in the name. Are you getting an error or is nothing being exported?



    ------------------------------
    Savino Ricci
    Technical Consultant
    ------------------------------