Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with IFTTT create page macro

Kevin Kott March 19, 2025

Hello,

I am trying to use the IFTTT integration rules to create a page using ConfiForms. Before, I was able to have a field titled "Document Title" and have individuals fill out that field and it would create a page with that title. We have since change the formatting of the title and want to have a title prefix added to the document name. So, I am trying to combine multiple fields to be added to create the new page title.

ex: ([entry.field1]|[entry.field2]) - [entry.docTitle]

When the page is being created, it skips the first two fields entirely and only adds the last field to the title. The first two fields are asList. I have placed the above example into a new field and tried using that but it still is not working. I am tracking the new field as I am filling out the form and the expected title is correct, but it is not creating the page name properly.

 

Any help would be greatly appreciated

1 answer

1 vote
Alex Medved _ConfiForms_
Community Champion
March 19, 2025

Hi

Do you have field1 and field2 in your form? If so, do those fields have values?

Alex

Kevin Kott March 19, 2025

these fields are background fields not explicitly in the form. They are list fields. It's a little complicated to explain but I'll do my best. We have multiple tables of data that our field pull from (reference) within the form page. Let's use an example of numbers and colors. Based on the users form entry, it is searching the tables for matching entries and then creates a list. So if someone selects let's say "tree", it will search the table for entries that have tree in a certain field, and then pulls the color and the number associated with that entry.

So, field1 is a list of "numbers" and field2 is a list of "colors". This is just an example. In actuality it is workgroups and their job related tasks, but I am unable to share those.

So, what is happening is a user is filling out a series of fields, in the background a hidden Smart multi-select field is being set using a Rules For Field Definition macro. When that Smart Multi-select field is changed, field1 or field2 is being set as a comma separated list of these entries. These list fields are what are trying to be placed within the document title

Alex Medved _ConfiForms_
Community Champion
March 19, 2025

Not sure I understand really... but when you submit the form that creates a page, these fields - do they have values assigned?

Kevin Kott March 19, 2025

One thing that I will note, is that we also have a movepage IFTTT to move the page to a proper library immediately after page creation. The IFTTT error prompt shows the correct page name.

So, if I am trying to create (green,blue|3,7) - document title, by setting the IFTTT macro page title to ([entry.field1]|[entry.field2]) - [entry.docTitle], a page will be created with the title as document title, but the move page macro will fail and say unable to find the page "(green,blue|3,7) - document title".

For some reason, the page is being created with only the [entry.docTitle] field in the title. But the move page IFTTT is looking for the full string title

Kevin Kott March 19, 2025

Yes, I am putting the whole title string into another field and placing it within my form to make sure it is outputting properly. The title string is outputting the expected title properly, it's just the page create IFTTT that is not functioning

Alex Medved _ConfiForms_
Community Champion
March 19, 2025

Sorry, hard to tell - seems to be very complicated to suggest anything without actually seeing the configuration

Do you have multiple IFTTTs to create a page?

May be setting this option will help you to understand what gets invoked and in which order https://wiki.vertuna.com/spaces/CONFIFORMS/pages/21234079/How+to+troubleshoot+and+debug+ConfiForms+IFTTT+rules+execution

Kevin Kott March 19, 2025

Unfortunately I am unable to use debug mode. I will say this, I am prompting the create page and move page IFTTTs with the same field. The create page IFTTT is not creating a page with the create title, but the move page IFTTT is looking for a page with the correct title. Both these IFTTTs are being prompted by the same field, so I am at a loss at to what is going on here

Kevin Kott March 19, 2025

New update. I do have several page create IFTTTs within the form but with several different conditions. I removed all of them and then had a blank condition IFTTT. It created the proper page title. So I'm going to look there to see what the issue is.

Thanks for your help

Alex Medved _ConfiForms_
Community Champion
March 19, 2025

Enable debug option on the macro and you will see the invocation log right on the page. It will definitely help to understand what is going on

Kevin Kott March 19, 2025

Looks like I was missing a .transform(field) all along.... which is pretty dumb since I had it correctly stated in below IFTTTs.... a genuine facepalm moment

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events