APIs & Integrations

AJT
Contributor

Workflow Extensions Issue

SOLVE

When I create a workflow for my new app (a test app), the "fieldmetadata" shows up twice on the workflow when I select it as an action. It looks silly. What can I do so that it only appears once as it should?

 

 

 

 

0 Upvotes
1 Accepted solution
AJT
Solution
Contributor

Workflow Extensions Issue

SOLVE

I attached it to my real just for testing and it looked good and normal. I did remove then afterwards since it was just for testing. Thank you for your time.

View solution in original post

0 Upvotes
10 Replies 10
AJT
Contributor

Workflow Extensions Issue

SOLVE
{
    "integrationAppId": #####,
    "extensionName": "Send Automated Text Part 2",
    "webhookUrl": "url",
    "fieldMetadata": [{
            "label": "Phone",
            "key": "phone",
            "required": true,
            "fieldType": "TEXT",
            "values": [{
                    "type": "OBJECT_PROPERTY"
            }]
        },
        {
            "label": "Email",
            "key": "email",
            "required": false,
            "fieldType": "TEXT",
            "values": [{
            	    "type": "STATIC_VALUE",
                    "allowsMergeTags": true
            }]
        },
        {
            "label": "Message",
            "key": "message",
            "required": true,
            "fieldType": "TEXTAREA",
            "values": [{
                    "type": "STATIC_VALUE",
                    "allowsMergeTags": true
            }]
    }]
}
0 Upvotes
AJT
Contributor

Workflow Extensions Issue

SOLVE

This is the request body I sent. Which it made it but just seeing fields twice when brought up in Workflows.

0 Upvotes
IsaacTakushi
HubSpot Employee
HubSpot Employee

Workflow Extensions Issue

SOLVE

Hi, @AJT.

 

Thanks for reporting this. I see the behavior in your account, but all of my other tests have been successful.

 

First, I created my own workflow extension using the payload you shared. When added to a workflow, each input field only appears once, per the screenshot below.

 

My custom workflow extension definition.png

 

I then connected your app to my account and viewed the workflow definitions for both "Send Automated Text" and "Send Automated Text Part 2." These extensions also only show each input field once, per this screen recording.

 

This seems to be a strange front end issue. Have you tried disconnecting and reconnecting your app?

Isaac Takushi

Associate Certification Manager
0 Upvotes
AJT
Contributor

Workflow Extensions Issue

SOLVE

Ill try that and get back to you soon.

0 Upvotes
AJT
Contributor

Workflow Extensions Issue

SOLVE

I just tried disconnecting and reconnecting app and the problem is still there. Any thoughts?

0 Upvotes
AJT
Contributor

Workflow Extensions Issue

SOLVE

One quick thought, I have it connected to kmapptest which is a test account i'm made for testing. Could there be something wrong with the test account?

0 Upvotes
AJT
Solution
Contributor

Workflow Extensions Issue

SOLVE

I attached it to my real just for testing and it looked good and normal. I did remove then afterwards since it was just for testing. Thank you for your time.

0 Upvotes
IsaacTakushi
HubSpot Employee
HubSpot Employee

Workflow Extensions Issue

SOLVE

Okay, good to hear, @AJT. Let me know if this becomes an issue again.

Isaac Takushi

Associate Certification Manager
0 Upvotes
IsaacTakushi
HubSpot Employee
HubSpot Employee

Workflow Extensions Issue

SOLVE

I am looking into this.

Isaac Takushi

Associate Certification Manager
0 Upvotes
AJT
Contributor

Workflow Extensions Issue

SOLVE

Thank you.

0 Upvotes