# Create node

**URL:** <https://community.n8n.io/t/create-node/22250>\
**Category:** Questions\
**Tags:** set\
**Created:** [January 25, 2023, 4:04pm UTC](https://community.n8n.io/t/create-node/22250 "2023-01-25T16:04:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suardim](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/suardim/32/18471_2.png) [@suardim](https://community.n8n.io/u/suardim)\
**Post date:** [January 25, 2023, 4:04pm UTC](https://community.n8n.io/t/create-node/22250/1 "2023-01-25T16:04:57Z")

</div>

## Is it possible to create automatically create a set node with predefined parameters?

I have this data json structure extracted, I need to insert my info in the “string” fields in order to be able to create the HTTP resquest I want.

Is there a way to quickly import the parameters and be able to change just the “string” fields?  
Or do I need to manually insert the parameters in a set node?

```auto
[
  {
    "soap:Envelope": {
      "xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
      "xmlns:xsd": "http://www.w3.org/2001/XMLSchema",
      "xmlns:soap": "http://schemas.xmlsoap.org/soap/envelope/",
      "soap:Body": {
        "RegistarExpedicao4": {
          "xmlns": "http://tempuri.org/",
          "username": "string",
          "password": "string",
          "expedicao": {
            "Conta": "string",
            "OrigemMoradaNome": "string",
            "OrigemMoradaLinha1": "string",
            "OrigemMoradaLinha2": "string",
            "OrigemMoradaCodigoPostal": "string",
            "OrigemMoradaLocalidade": "string",
            "OrigemMoradaPais": "string",
            "OrigemTelefone": "string",
            "OrigemTelemovel": "string",
            "OrigemFax": "string",
            "OrigemEmail": "string",
            "OrigemContactoNome": "string",
            "OrigemContactoTelefone": "string",
            "OrigemContactoTelemovel": "string",
            "OrigemContactoEmail": "string",
            "TipoDestino": "string",
            "DestinoLojaId": "string",
            "DestinoMoradaNome": "string",
            "DestinoMoradaLinha1": "string",
            "DestinoMoradaLinha2": "string",
            "DestinoMoradaCodigoPostal": "string",
            "DestinoMoradaLocalidade": "string",
            "DestinoMoradaPais": "string",
            "DestinoTelefone": "string",
            "DestinoTelemovel": "string",
            "DestinoFax": "string",
            "DestinoEmail": "string",
            "DestinoContactoNome": "string",
            "DestinoContactoTelefone": "string",
            "DestinoContactoTelemovel": "string",
            "DestinoContactoEmail": "string",
            "DestinoLojaAlternativaId": "string",
            "DestinoLojaAlternativaNomeReceptor": "string",
            "DestinoLojaAlternativaEmailReceptor": "string",
            "DestinoLojaAlternativaTelemovelReceptor": "string",
            "ObservacoesLinha1": "string",
            "ObservacoesLinha2": "string",
            "Peso": "string",
            "Referencia": "string",
            "ValorCOD": "string",
            "DataExpedicao": "string",
            "EnviarEtiquetasEmail": "string",
            "NumeroVolumes": "string",
            "Predict": "string"
          },
          "tipoResposta": "string",
          "enviarEmail": "string",
          "email": "string",
          "tipoEtiqueta": "string",
          "pdfResponse": "string",
          "zplResponse": "string"
        }
      }
    }
  }
]

```

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [January 31, 2023, 4:18pm UTC](https://community.n8n.io/t/create-node/22250/2 "2023-01-31T16:18:24Z")

</div>

Hi @suardim, you can programmatically create workflows including nodes, though I am not 100% sure where your snippet comes into play.

Workflows can be created (and updated) through the REST API for example: [API reference - n8n Documentation](https://docs.n8n.io/api/api-reference/#tag/Workflow/paths/~1workflows/post)

As for the exact payload to use, I reckon your best bet would be to build the workflow including your Set node once manually. Then take a look at the resulting workflow JSON data and use this as the basis for any new workflows including such a node.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [May 1, 2023, 4:18pm UTC](https://community.n8n.io/t/create-node/22250/3 "2023-05-01T16:18:48Z")

</div>

Closed on May 1, 2023, 4:18pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
