Front App workflow forcing optional fields

Hi, I’ve been building a workflow using the Front App workflow, specifically the import message flow.

While I’ve been able to map out most fields without issue, Pipedream is forcing me to pass an ID for the Assignee ID field. However, this is an optional field as stated in Front’s API document linked here.

As a result of Pipedreams expected workflow, I’m forced to assign every inbound message to a specific assignee in Front, making the workflow ineffective.

Passing empty or mismatched data results in an error:

Error - Request failed with status code 404

{“_error”:{“status”:404,“title”:“Not found”,“message”:"Unknown teammate ID "}}

DETAILS

    at null.createError (/tmp/__pdg__/dist/code/5d02517872a459e07de505b513fc1d4a458f8b25f1f26b935f866d7e042a0272/node_modules/.pnpm/axios@0.21.4/node_modules/axios/lib/core/createError.js:16:15)
    at null.settle (/tmp/__pdg__/dist/code/5d02517872a459e07de505b513fc1d4a458f8b25f1f26b935f866d7e042a0272/node_modules/.pnpm/axios@0.21.4/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/tmp/__pdg__/dist/code/5d02517872a459e07de505b513fc1d4a458f8b25f1f26b935f866d7e042a0272/node_modules/.pnpm/axios@0.21.4/node_modules/axios/lib/adapters/http.js:269:11)
    at IncomingMessage.emit (node:events:525:35)
    at null.endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Hi @johnson,

I apologize for the inconvenience you’re facing with the Front Import Message action. I’d recommend reaching out to the Pipedream support team at https://pipedream.com/support for further assistance. They can help you with any issues related to the Front app integration and its optional fields.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.

Hi @johnson,

Thank you for raising this issue. I’ve created a ticket here to improve it: [FEATURE] Frontapp - Import Message: Make optional params optional · Issue #7807 · PipedreamHQ/pipedream · GitHub

Kindly subscribe to it to be noticed when it is fixed!

Thanks for creating a ticket @vunguyenhung! I’ll keep an eye out for updates there.