# Custom Field Month

**URL:** <https://community.hubspot.com/t/custom-field-month/129193>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** marketing-email, enterprise\
**Created:** [April 3, 2025, 11:42am UTC](https://community.hubspot.com/t/custom-field-month/129193 "2025-04-03T11:42:14Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![LSoggia](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@LSoggia](https://community.hubspot.com/u/LSoggia)\
**Post date:** [April 3, 2025, 11:42am UTC](https://community.hubspot.com/t/custom-field-month/129193/1 "2025-04-03T11:42:14Z")

</div>

Hey Community,

I have an automized email which goes out as a reminder each month on the 30th.

I’d like to create a dynamic field for the current month, so I dont have to change it myself everytime. Inside the email it should look something like this:  
Input: On the 30th of {{current month}}, we will have our…

Output: On the 30th of April, we will have our…  
How can I create this?  
Hope you guys can help.  
Leon

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [April 3, 2025, 11:48am UTC](https://community.hubspot.com/t/custom-field-month/129193/2 "2025-04-03T11:48:58Z")

</div>

Hi @LSoggia,

This can be achieved with a calculation property: [Create calculation and rollup properties](https://knowledge.hubspot.com/properties/create-calculation-properties)

The approach would be as follows:

1. At the beginning for your workflow, set any custom date property to the current date
2. Delay for a moment to give the calculation property time to do it’s thing
3. Use the calculation property as a personalization token in the email

You can use the if() and month() function to return the month. Draft for January and February below:

 ![karstenkoehler_0-1743681247099.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/5/85926ba6b585cf6d6759bc54832f5cbef371a8ab.png)

Best regards

---

<div class="post-metadata">

**Author:** ![LSoggia](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@LSoggia](https://community.hubspot.com/u/LSoggia)\
**Post date:** [April 4, 2025, 7:23am UTC](https://community.hubspot.com/t/custom-field-month/129193/3 "2025-04-04T07:23:18Z")

</div>

Hey Karsten,

thank you for your quick response! I’ve tried this approach and ran into an error. I couldnt change the Output type to “String”, because it didnt show me the option. Do you know why?

 ![Bildschirmfoto 2025-04-03 um 13.17.42.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/1/61b980cd1a1121244d51a13d11db29e92ce9f9df.png)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [April 4, 2025, 7:25am UTC](https://community.hubspot.com/t/custom-field-month/129193/4 "2025-04-04T07:25:00Z")

</div>

@LSoggia what exactly have you selected in the dropdown behind the error message?

---

<div class="post-metadata">

**Author:** ![LSoggia](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@LSoggia](https://community.hubspot.com/u/LSoggia)\
**Post date:** [April 4, 2025, 10:44am UTC](https://community.hubspot.com/t/custom-field-month/129193/5 "2025-04-04T10:44:31Z")

</div>

@karstenkoehler Every single option that was available.. The error message says "The formula has type “String” but is expecting “Date or Number” as Output. And I cannot select String as an Output Type like you did. I don’t know why.

 ![Bildschirmfoto 2025-04-04 um 12.42.54.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/f/0f745c4ba0a9b6d5bdbcfde06ead01b0b8ef7bf0.png)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [April 4, 2025, 10:49am UTC](https://community.hubspot.com/t/custom-field-month/129193/6 "2025-04-04T10:49:05Z")

</div>

@LSoggia “String” steht da nicht, weil dein HubSpot-Portal auf Deutsch gestellt ist, meins auf Englisch. Die Übersetzung wäre “Zeichenfolge”.

Kannst du bitte einen Screenshot teilen, bei dem als Ausgabetyp “Zeichenfolge” ausgewählt ist, welchen Fehler siehst du dann?

---

<div class="post-metadata">

**Author:** ![LSoggia](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@LSoggia](https://community.hubspot.com/u/LSoggia)\
**Post date:** [April 4, 2025, 11:20am UTC](https://community.hubspot.com/t/custom-field-month/129193/7 "2025-04-04T11:20:58Z")

</div>

Okay, mit “Zeichenfolge” ist der Error Code weggegangen, aber ein neuer ist aufgetaucht:

 ![Bildschirmfoto 2025-04-04 um 13.20.19.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/c/dc182798e2cd4dececf6a496d8c15dd37ec8b8b3.png)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [April 4, 2025, 11:23am UTC](https://community.hubspot.com/t/custom-field-month/129193/8 "2025-04-04T11:23:23Z")

</div>

@LSoggia nach Dezember fehlt das Argument, hier ist nach dem Komma, vor den Klammern, kein Argument eingetragen.

---

<div class="post-metadata">

**Author:** ![LSoggia](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@LSoggia](https://community.hubspot.com/u/LSoggia)\
**Post date:** [April 4, 2025, 11:29am UTC](https://community.hubspot.com/t/custom-field-month/129193/9 "2025-04-04T11:29:44Z")

</div>

@karstenkoehler nevermind es war ein Bug. Ich konnte die Eigenschaft jetzt erfolgreich erstellen. Danke dafür!  
Nur leider funktioniert es immer noch nicht akkurat in meiner Marketing Email.  
Ich möchte, dass dort immer der aktuelle Monat angezeigt wird und nicht der Monat, an dem der Kontakt erstellt worden ist. In den Screenshots siehst du die erstelle Eigenschaft und die gesendete Test-Email. Dort soll nicht “Februar” sondern “April” stehen. Weißt du wie das geht?

 ![Bildschirmfoto 2025-04-04 um 13.26.29.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/0/106bd2c81627a6fe24e27338530c7947d34327d0.jpeg)

 ![Bildschirmfoto 2025-04-04 um 13.28.10.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/a/6aa4a395e3d9984ded717c5a1ede8559698a4709.png)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [April 4, 2025, 11:31am UTC](https://community.hubspot.com/t/custom-field-month/129193/10 "2025-04-04T11:31:11Z")

</div>

@LSoggia du müsstest hierfür eine separate Datumseigenschaft erstellen, die du in deinem Workflow, vor dem Versand der E-Mail, vergibst, siehe hier: [https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Custom-Field-Month/m-p/1131371/highlight/true#M7288](https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Custom-Field-Month/m-p/1131371/highlight/true#M7288)

Die ist dann auch die Eigenschaft, die du in der Berechnung referenzierst, nicht das Erstellungsdatum – das war nur ein Beispiel, damit ich dir einen Screenshot teilen konnte.

---

<div class="post-metadata">

**Author:** ![LSoggia](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@LSoggia](https://community.hubspot.com/u/LSoggia)\
**Post date:** [April 4, 2025, 11:41am UTC](https://community.hubspot.com/t/custom-field-month/129193/11 "2025-04-04T11:41:58Z")

</div>

Okay und wie würdest du diese separate Datumseigenschaft erstellen, die immer den aktuellen Monat wiedergibt?  
Ich verstehe den Vorgang nicht richtig, weil wenn ich diese erstellen könnte, dann bräuchte ich die berechnende Eigenschaft on Top nicht?

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [April 4, 2025, 11:44am UTC](https://community.hubspot.com/t/custom-field-month/129193/12 "2025-04-04T11:44:11Z")

</div>

@LSoggia die Abfolge wäre wie folgt:

1. Datensatz wird in Workflow aufgenommen
2. In eine Datumseigenschaft wird das aktuelle Datum geschrieben (via “Edit record” / “Datensatz bearbeiten” kann man das aktuell Datum / zum Zeitpunkt der Ausführung als Wert hinterlegen)
3. Der Workflow wartet 10-15 Minuten
4. In dieser Zeit übersetzt die Berechnungseigenschaft das in Schritt 2 hinterlegte Datum in einen Monat
5. Der Workflow versendet die E-Mail

Du könntest statt 2-4 auch eine Custom Code Action in Python / JavaScript schreiben – wäre dasselbe Ergebnis. Die Schritte oben sind die low-code Variante.

---

<div class="post-metadata">

**Author:** ![LSoggia](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@LSoggia](https://community.hubspot.com/u/LSoggia)\
**Post date:** [April 4, 2025, 12:39pm UTC](https://community.hubspot.com/t/custom-field-month/129193/13 "2025-04-04T12:39:43Z")

</div>

Das hat funktioniert!! Vielen Dank für die Hilfe!  
Gibt es auch eine Möglichkeit ein dynamisches Datum für jeden Mittwoch eines Monats zu erstellen? Wir haben ein Webinar jeden Mittwoch und ich würde dort auch gerne das Datum aktualisieren. Nur diesmal mit dem Tag: “09. April” und für nächste Woche dann “16.April”.

 ![Bildschirmfoto 2025-04-04 um 14.37.45.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/09ec78c56124b93144720a9c61b992ea1642b25c.png)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [April 4, 2025, 12:43pm UTC](https://community.hubspot.com/t/custom-field-month/129193/14 "2025-04-04T12:43:00Z")

</div>

@LSoggia sehr gut – markiere gern meine Antworten, die dir zum Verständnis / zur Lösung geführt haben, als akzeptierte Antworten.

Zu deiner weiterführenden Frage: grundsätzlich ja, mit denselben Mitteln wie oben beschrieben, also Berechnungseigenschaften, ggf. mit custom code, ggf. auch programmable email automation. Für die Details bräuchte ich ein besseres Verständnis des gesamten Prozesses – das geht allerdings etwas über den Scope eines Forum-Threads hinaus 🙂
