{"id":259529,"date":"2025-06-30T17:05:54","date_gmt":"2025-06-30T13:05:54","guid":{"rendered":"https:\/\/cs-webdesigns.com\/?p=259529"},"modified":"2026-03-26T11:51:35","modified_gmt":"2026-03-26T07:51:35","slug":"dynamically-set-email-recipient-in-breakdance","status":"publish","type":"post","link":"https:\/\/cs-webdesigns.com\/en\/webinsights\/tutorials\/e-mail-empfaenger-in-breakdance-dynamisch-festlegen\/","title":{"rendered":"How to set dynamic Recipients in Breakdance Form Builder"},"content":{"rendered":"<h2>Dynamic Email Sending in Breakdance Forms<\/h2>\n<p>Send messages directly to the right department \u2013 simply by selecting the appropriate field in the form. With Breakdance and a little trick, you can set this up in no time at all. Since version 2.4, Breakdance offers <strong>action-level conditions<\/strong> \u2013 meaning you can define whether actions like webhooks, custom JavaScript, form submissions, or emails <strong>should be executed based on specific conditions. <\/strong>Sounds perfect for dynamic email routing, right? <strong>Almost!<\/strong> These conditions apply only to whether an action runs \u2013 <strong>not how it runs.<\/strong> That means you can\u2019t say: \u201cSend this email to recipient X if the user selects Y.\u201d But don\u2019t worry \u2013 here\u2019s a quick and elegant solution to do just that.<\/p>\n<h2>The Solution: Control Recipients via Field Values<\/h2>\n<p>Instead of creating multiple conditional email actions, there\u2019s a more elegant and streamlined approach:\nPass the recipient email address directly via a form field.<\/p>\n<h2>Step-by-Step Guide<\/h2>\n<p>I\u2019ll assume you already know how to create a form in Breakdance \u2013 so let\u2019s get right into setting up dynamic email recipients:<\/p>\n<h3>1. Define Field Values in a Select, Radio or Checkbox Field<\/h3>\n<p>In my example, I use a selection field (Select). However, the trick also works with radio buttons or checkboxes. Go to the field that is to determine the email recipients and enter the name of the selection option (e.g., Sales) in the Option Label field and the email address to which the email is to be sent (in my case, sales@cs-webdesigns.com) in the Option Value field:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-259531\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/06\/E-Mail-in-Feldwert-eingeben.jpg\" alt=\"Enter email in field value\" width=\"252\" height=\"730\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/06\/E-Mail-in-Feldwert-eingeben.jpg 252w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/06\/E-Mail-in-Feldwert-eingeben-4x12.jpg 4w\" sizes=\"(max-width: 252px) 100vw, 252px\" \/><\/p>\n<p>Under Advanced, we give the ID a meaningful name.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-259530\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/06\/ID-des-Feldes-eingeben.jpg\" alt=\"Enter field ID\" width=\"292\" height=\"176\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/06\/ID-des-Feldes-eingeben.jpg 292w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/06\/ID-des-Feldes-eingeben-18x12.jpg 18w\" sizes=\"(max-width: 292px) 100vw, 292px\" \/><\/p>\n<h3>2. Set up email action with dynamic recipient<\/h3>\n<p>Add a new email action under Actions and enter the field ID in braces in the recipient field (To Email):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-259532\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/06\/E-Mail-mit-Feld-ID-anlegen.jpg\" alt=\"Create email with field ID\" width=\"481\" height=\"400\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/06\/E-Mail-mit-Feld-ID-anlegen.jpg 481w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/06\/E-Mail-mit-Feld-ID-anlegen-14x12.jpg 14w\" sizes=\"(max-width: 481px) 100vw, 481px\" \/><\/p>\n<p>That's all there is to it. Your requests are now sent dynamically to your desired recipients.<\/p>\n<h2>Conclusion<\/h2>\n<p>With this little trick, you can easily send dynamic emails in Breakdance depending on the user's choice - without PHP, hooks or JavaScript. Ideal for contact forms with multiple points of contact such as support, sales or general inquiries.<\/p>","protected":false},"excerpt":{"rendered":"<p>Set up dynamic email recipients in Breakdance forms \u2013 send emails to the right email address based on user selection, without any custom code.<\/p>","protected":false},"author":1,"featured_media":259533,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"none","_seopress_titles_title":"","_seopress_titles_desc":"Mit diesem Trick verschickst du deine Anfragen direkt an die richtigen E-Mail-Empf\u00e4nger - ganz ohne Code in Breakdance.","_seopress_robots_index":"","_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","iawp_total_views":33,"footnotes":""},"categories":[333],"tags":[],"class_list":["post-259529","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/posts\/259529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/comments?post=259529"}],"version-history":[{"count":0,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/posts\/259529\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/media\/259533"}],"wp:attachment":[{"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/media?parent=259529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/categories?post=259529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/tags?post=259529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}