Mapping Elementor Fields in an API Post Request Body
Status: Open · Asked by ATheile on · 0 views
I have to make an API Post with the following body, but I'm not sure how to map the values from an Elementor form request made before :
[
{
"name": "Anrede",
"value": "Herr"
},
{
"name": "E-Mail",
"value": "[email hidden]"
},
{
"name": "Firma",
"value": "Qualiaeter"
},
{
"name": "Nachname",
"value": "Testman 4"
},
{
"name": "PLZ",
"value": "51234 Testhausen"
},
{
"name": "Straße",
"value": "Testweg 1234"
},
{
"name": "Vorname",
"value": "Eden"
},
{
"name": "VeranstaltungFK",
"value": "06.02.2023 Dialog IT Sicherheit | Netzwerkveranstaltun"
},
{
"name": "Titel",
"value": "Testprofessor"
},
{
"name": "Funktion",
"value": "Inhouse Tester"
},
{
"name": "Homepage",
"value": "https://www.qualitaeter.de"
}
]
Hey @ATheile
Kindly share the workflow URL, API documentation and elaborate on your concern in brief.
That workflow works fine with that static body, but I have to map the Elementor Form Fields of the first action to the value body fields of the third action.
Hey @ATheile
Kindly share the API documentation for the API you are trying, so that we can look into it.
You can find the documentation for adding a record with the API here in German: https://webconnect.cobra-hilfe.de/docs/webconnect/EineNeueAdresseAnlegen
But I don't know why you need it,
I think my problem is clear.
I have to make an API rquest with folllowing body:
[
{
"name": "Anrede",
"value": "Herr"
},
{
"name": "E-Mail",
"value": "[EMAIL][email hidden][/EMAIL]"
},
{
"name": "Firma",
"value": "Qualiaeter"
},
{
"name": "Nachname",
"value": "Testman 4"
},
{
"name": "PLZ",
"value": "51234 Testhausen"
},
{
"name": "Straße",
"value": "Testweg 1234"
},
{
"name": "Vorname",
"value": "Eden"
},
{
"name": "VeranstaltungFK",
"value": "7"
},
{
"name": "Titel",
"value": "Testprofessor"
},
{
"name": "Funktion",
"value": "Inhouse Tester"
},
{
"name": "Homepage",
"value": "https://www.qualitaeter.de"
}
]
But i have to replace/map the values of that body with values from an Elementor request in that same workflow.
I've solved my problem with using the text formatter. Maybe not the most elegant solution, but it works.
Thank you for the update. We are glad your problem is resolved now.